Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetricsFunc ¶
func MetricsFunc(options ...Option) echo.MiddlewareFunc
Types ¶
type Option ¶
type Option func(c *Options)
func MetricsPath ¶
func Registry ¶
func Registry(r prometheus.Registerer) Option
type Options ¶
type Options struct { Registry prometheus.Registerer MetricsPath string Namespace string Subsystem string }
Click to show internal directories.
Click to hide internal directories.