MCPcopy
hub / github.com/redis/go-redis / resetObservabilityForTest

Function resetObservabilityForTest

extra/redisotel-native/metrics_stress_test.go:150–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148}
149
150func resetObservabilityForTest() {
151 observabilityInstanceOnce = sync.Once{}
152 observabilityInstance = nil
153}
154
155// TestTracingAndMetricsCompatibility verifies that redisotel (tracing) and
156// redisotel-native (metrics) can be used together without conflicts.

Callers 2

TestMetricsUnderStressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected