package testing
import "github.com/influxdata/influxdb/kit/tracing/testing"
Index ¶
Functions ¶
func SetupInMemoryTracing ¶
func SetupInMemoryTracing(name string) func()
SetupInMemoryTracing sets the global tracer to an in memory Jaeger instance for testing. The returned function should be deferred by the caller to tear down this setup after testing is complete.
Source Files ¶
- Version
- v1.12.1 (latest)
- Published
- Jun 24, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 1 day ago –
Tools for package owners.