Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultAddress is the address the Exporter will run on if no address is configured.
DefaultAddress = "http://0.0.0.0:8000"
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Config ¶
type Config struct {
Address string
Collectors []prometheus.Collector
ExtraEndpoints []server.Endpoint
Logger micrologger.Logger
}
Config if the configuration to create an Exporter.
Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
constant_exporter
command
|
|
|
dns_exporter
command
|
|
|
Package histogram provides primitives for working with histograms, particularly towards building Prometheus exporters.
|
Package histogram provides primitives for working with histograms, particularly towards building Prometheus exporters. |
|
Package histogramvec provides primitives for working with a vector of histograms, particularly towards building Prometheus exporters.
|
Package histogramvec provides primitives for working with a vector of histograms, particularly towards building Prometheus exporters. |
Click to show internal directories.
Click to hide internal directories.