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

testing.go

Version
v1.12.0 (latest)
Published
Apr 8, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
2 days ago

Tools for package owners.