Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Enabled bool `yaml:"Enabled"` Address string `yaml:"Address"` Port string `yaml:"Port"` }
Config config used for monitoring.
type PrometheusService ¶
type PrometheusService Service
PrometheusService https://prometheus.io/docs/guides/go-application.
type Service ¶
Service serves metrics.
func NewPprofService ¶
NewPprofService created new service for gathering pprof metrics.
func NewPrometheusService ¶
NewPrometheusService creates new service for gathering prometheus metrics.
Click to show internal directories.
Click to hide internal directories.