Documentation
¶
Overview ¶
Package prometheus provides Prometheus metrics for Mailpit
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Registry is the Prometheus registry for Mailpit metrics Registry = prometheus.NewRegistry() )
Functions ¶
func GetHandler ¶
GetHandler returns the Prometheus handler & disables double compression in middleware
func StartSeparateServer ¶
func StartSeparateServer()
StartSeparateServer starts a separate HTTP server for Prometheus metrics
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.