Versions in this module Expand all Collapse all v0 v0.5.2 Jan 31, 2023 Changes in this version + const Name + var DefaultConfig = Config + func New(config config.Config) (server.Plugin, error) + type Config struct + ListenAddress string + Path string + func (c *Config) UnmarshalYAML(unmarshal func(interface{}) error) error + func (c *Config) Validate() error + type Prometheus struct + func (p *Prometheus) Collect(m chan<- prometheus.Metric) + func (p *Prometheus) Describe(desc chan<- *prometheus.Desc) + func (p *Prometheus) HookWrapper() server.HookWrapper + func (p *Prometheus) Load(service server.Server) error + func (p *Prometheus) Name() string + func (p *Prometheus) Unload() error