Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prometheus ¶
type Prometheus struct {
// contains filtered or unexported fields
}
Prometheus served as a prometheus exporter that exposes gmqtt metrics.
func (*Prometheus) Collect ¶
func (p *Prometheus) Collect(m chan<- prometheus.Metric)
func (*Prometheus) Describe ¶
func (p *Prometheus) Describe(desc chan<- *prometheus.Desc)
func (*Prometheus) HookWrapper ¶
func (p *Prometheus) HookWrapper() gmqtt.HookWrapper
func (*Prometheus) Name ¶
func (p *Prometheus) Name() string
func (*Prometheus) Unload ¶
func (p *Prometheus) Unload() error
Click to show internal directories.
Click to hide internal directories.