MCPcopy
hub / github.com/elastic/go-elasticsearch / InstrumentationEnabled

Method InstrumentationEnabled

elasticsearch.go:596–601  ·  view source on GitHub ↗

InstrumentationEnabled propagates back to the client the Instrumentation provided by the transport.

()

Source from the content-addressed store, hash-verified

594
595// InstrumentationEnabled propagates back to the client the Instrumentation provided by the transport.
596func (c *BaseClient) InstrumentationEnabled() elastictransport.Instrumentation {
597 if tp, ok := c.Transport.(elastictransport.Instrumented); ok {
598 return tp.InstrumentationEnabled()
599 }
600 return nil
601}
602
603// doProductCheck calls f if there as not been a prior successful call to doProductCheck,
604// returning nil otherwise.

Callers 15

flushBufferMethod · 0.80
newILMPutLifecycleFuncFunction · 0.80
newIndicesExistsFuncFunction · 0.80
newClusterInfoFuncFunction · 0.80
newCCRForgetFollowerFuncFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected