monitoring

package
v0.0.0-...-a4160af Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(monAddr string, env *config.Env)

Serve starts the prometheus monitoring exporter

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

Jump to

Keyboard shortcuts

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