telemetry

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ZPagesPath = "/tracez"
)

Variables

View Source
var (
	ErrNoTracerProvider = errors.New("no tracer provider")
)

Global variables

Functions

func SetupTracing

func SetupTracing(otlpAddr string, sampleRatio float64) func()

SetupTracing sets up the OpenTelemetry tracing system.

func ZPagesHandlerFunc

func ZPagesHandlerFunc() func(http.ResponseWriter, *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL