package
7.17.28
Repository: https://github.com/elastic/beats.git
Documentation: pkg.go.dev

# Functions

DefaultPromEventsGeneratorFactory returns the default prometheus events generator.
MetricSetBuilder returns a builder function for a new Prometheus metricset using the given namespace and event generator.

# Variables

HostParser parses a Prometheus endpoint URL.

# Structs

MetricSet for fetching prometheus data.
PromEvent stores a set of one or more metrics with the same labels.

# Interfaces

PromEventsGenerator converts a Prometheus metric family into a PromEvent list.

# Type aliases

PromEventsGeneratorFactory creates a PromEventsGenerator when instantiating a MetricSet.