prometheus

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExporter

func NewExporter(config Config) (*prometheus.Exporter, error)

NewExporter creates a new, configured Prometheus exporter.

Types

type Config

type Config struct {
	Namespace string `toml:"namespace" comment:"Prometheus namespace"`
}

Config holds information for configuring the Prometheus exporter

Jump to

Keyboard shortcuts

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