Documentation ¶
Index ¶
Constants ¶
View Source
const RouterPath = "router-path"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsMiddleware ¶
type MetricsMiddleware struct {
// contains filtered or unexported fields
}
Middleware is a handler that exposes prometheus metrics for the number of requests, the latency and the response size, partitioned by status code, method and HTTP path.
type TraceConfig ¶
type TraceConfig struct {
SkipURLPath []string
}
Click to show internal directories.
Click to hide internal directories.