Documentation ¶
Overview ¶
Package admin provides simple admin http server API.
Index ¶
Constants ¶
View Source
const ( // TraceFilterOn toggle TraceFilterOn int32 = 0 // TraceFilterOff toggle TraceFilterOff int32 = 1 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(o *Options)
Option is function for applying an option the admin server
func WithEnableHotSwitch ¶
WithEnableHotSwitch set whether to enable hot switch http handler
func WithEnablePprof ¶
WithEnablePprof set whether to enable go pprof http handler
func WithEnablePrometheus ¶
WithEnablePrometheus set whether to enable prometheus metrics http handler
func WithEnableZPage ¶
WithEnableZPage set up zPages processor
type Options ¶
type Options struct {
// contains filtered or unexported fields
}
Options represents config options for open telemetry http admin server
Click to show internal directories.
Click to hide internal directories.