Documentation ¶
Overview ¶
Package autozpages setups zPages handler.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegisterableTracerProvider ¶
type RegisterableTracerProvider interface { // RegisterSpanProcessor adds the given SpanProcessor to the list of SpanProcessors. // https://pkg.go.dev/go.opentelemetry.io/otel/sdk/trace#TracerProvider.RegisterSpanProcessor. RegisterSpanProcessor(SpanProcessor sdktrace.SpanProcessor) // UnregisterSpanProcessor removes the given SpanProcessor from the list of SpanProcessors. // https://pkg.go.dev/go.opentelemetry.io/otel/sdk/trace#TracerProvider.UnregisterSpanProcessor. UnregisterSpanProcessor(SpanProcessor sdktrace.SpanProcessor) }
RegisterableTracerProvider is a Tracer provider.
type ShutdownFunc ¶
ShutdownFunc is a function that shuts down the MeterProvider.
func NewZPages ¶
func NewZPages(provider RegisterableTracerProvider) (_ ShutdownFunc, rerr error)
NewZPages registers zPages processor on given trace provider and runs HTTP server.
Click to show internal directories.
Click to hide internal directories.