alertscollector

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertsCollector

type AlertsCollector struct {
	AlertService alert.ClientService

	WithInhibited, WithSilenced, WithUnprocessed, WithActive *bool

	Filters []string
}

func (*AlertsCollector) Collect

func (o *AlertsCollector) Collect(ch chan<- prometheus.Metric)

func (*AlertsCollector) Describe

func (o *AlertsCollector) Describe(_ chan<- *prometheus.Desc)

Describe implements prometheus.Collector. Does not send any description and thus makes the collector unchecked.

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL