Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BastionCollector ¶
type BastionCollector struct {
// contains filtered or unexported fields
}
BastionCollector is the main bastion collector for Prometheus
func NewBastionExporter ¶
func NewBastionExporter(env *config.Env) BastionCollector
NewBastionExporter returns a new bastion exporter
func (BastionCollector) Collect ¶
func (c BastionCollector) Collect(ch chan<- prometheus.Metric)
Collect is the prometheus collector's way to assign values to metrics
func (BastionCollector) Describe ¶
func (c BastionCollector) Describe(ch chan<- *prometheus.Desc)
Describe is the prometheus collector's way to describe metrics
Click to show internal directories.
Click to hide internal directories.