Documentation
¶
Index ¶
Constants ¶
View Source
const (
// ScopeName is the instrumentation scope name.
ScopeName = "request"
)
Variables ¶
This section is empty.
Functions ¶
func OtelChiMiddleware ¶
OtelChiMiddleware returns middleware that will trace incoming requests for the chi web framework. The service parameter should describe the name of the (virtual) server handling the request.
func OtelGinMiddleware ¶
func OtelGinMiddleware() gin.HandlerFunc
OtelGinMiddleware returns middleware that will trace incoming requests for the gin web framework. The service parameter should describe the name of the (virtual) server handling the request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.