Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TenantCountCollector ¶
type TenantCountCollector struct {
// contains filtered or unexported fields
}
TenantCountCollector is a prometheus.Collector that collects the number of alerts in the system, broken down by tenant and state.
func NewTenantCountCollector ¶
func NewTenantCountCollector(globals *config.Globals, db kioradb.DB) *TenantCountCollector
func (*TenantCountCollector) Collect ¶
func (t *TenantCountCollector) Collect(ch chan<- prometheus.Metric)
Collect implements prometheus.Collector.
func (*TenantCountCollector) Describe ¶
func (*TenantCountCollector) Describe(c chan<- *prometheus.Desc)
Describe implements prometheus.Collector.
Click to show internal directories.
Click to hide internal directories.