Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Number of connected clients. Clients = promauto.NewGauge(prometheus.GaugeOpts{ Namespace: "ircd", Name: "clients", Help: "Number of connected clients.", }) // Number of existing channels. Channels = promauto.NewGauge(prometheus.GaugeOpts{ Namespace: "ircd", Name: "channels", Help: "Number of existing channels.", }) // Number of commands received. // This is a vector where the only label is 'name'. Command = promauto.NewCounterVec(prometheus.CounterOpts{ Namespace: "ircd", Name: "command", Help: "Number of commands received.", }, []string{"name"}) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.