Documentation ¶
Index ¶
- func AddGaugeFunc(name string, f GaugeFunc)
- func Enabled() bool
- func Init()
- func ObserveBufferSize(t string, size int)
- func SendError(ctx context.Context, errType string, err error)
- func SetBufferDefaultSize(t string, size int)
- func SetBufferMaxSize(t string, size int)
- func SetMetadata(ctx context.Context, key string, value any)
- func StartRootSpan(ctx context.Context, rw http.ResponseWriter, r *http.Request) (context.Context, context.CancelFunc, http.ResponseWriter)
- func StartSpan(ctx context.Context, name string) context.CancelFunc
- func Stop()
- type GaugeFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGaugeFunc ¶ added in v3.7.0
func ObserveBufferSize ¶ added in v3.7.0
func SetBufferDefaultSize ¶ added in v3.7.0
func SetBufferMaxSize ¶ added in v3.7.0
func StartRootSpan ¶
func StartRootSpan(ctx context.Context, rw http.ResponseWriter, r *http.Request) (context.Context, context.CancelFunc, http.ResponseWriter)
Types ¶
Click to show internal directories.
Click to hide internal directories.