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

Function NewFakeInstrumentation

elasticsearch_internal_test.go:1182–1187  ·  view source on GitHub ↗
(recordQuery bool)

Source from the content-addressed store, hash-verified

1180}
1181
1182func NewFakeInstrumentation(recordQuery bool) *FakeInstrumentation {
1183 return &FakeInstrumentation{
1184 PersistQuery: recordQuery,
1185 PathParts: make(map[string]string),
1186 }
1187}
1188
1189func (c *FakeInstrumentation) Start(ctx context.Context, name string) context.Context {
1190 c.Name = name

Callers 1

TestInstrumentationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected