package
1.2.1
Repository: https://github.com/go-magma/magma.git
Documentation: pkg.go.dev

# Functions

MakeMultiGaugeFamily returns a single MetricsFamily with multiple labeled gauge metrics.
MakeSingleGaugeFamily returns a MetricFamily with a single gauge value as specified by the function arguments.
MakeSingleGaugeMetric returns a Metric with a single gauge value as specified by the function argument.
No description provided by the author
NewMetricsGatherer validates params and returns a new metrics gatherer.

# Structs

CloudServiceMetricCollector is a MetricCollector which uses service303 to collect metrics from a specific cloud service.
DiskUsageMetricCollector is a MetricCollector which return a pair of metric families representing the total available disk space on the system and the total disk space used, respectively.
No description provided by the author
MetricsGatherer wraps a set of MetricCollectors, polling each collector at the configured interval and putting the results onto an output channel.
ProcMetricsCollector is a MetricCollector which queries /proc for the number of open file descriptors across all processes running on the machine, returning a single metric family for the count.

# Interfaces

MetricCollector provides an API to query for metrics.