Documentation
¶
Index ¶
Constants ¶
View Source
const ( // IDPathRegex regexp used to swap the {id*} parameters in the path with simply id // supports alphabetic characters and underscores, no dashes IDPathRegex string = "{[a-zA-Z_]*}" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware struct {
// contains filtered or unexported fields
}
Middleware is the monitoring middleware object implementing Prometheus monitoring
func NewMiddleware ¶
func NewMiddleware(monitor core.MonitorInterface, logger logging.LoggerInterface) *Middleware
NewMiddleware returns a Middleware based on the type of monitor
Click to show internal directories.
Click to hide internal directories.