# Packages

Package promlint provides a linter for Prometheus metrics.

# Functions

CollectAndCompare registers the provided Collector with a newly created pedantic Registry.
CollectAndCount registers the provided Collector with a newly created pedantic Registry.
CollectAndLint registers the provided Collector with a newly created pedantic Registry.
GatherAndCompare gathers all metrics from the provided Gatherer and compares it to an expected output read from the provided Reader in the Prometheus text exposition format.
GatherAndCount gathers all metrics from the provided Gatherer and counts them.
GatherAndLint gathers all metrics from the provided Gatherer and checks them with the linter in the promlint package.
ToFloat64 collects all Metrics from the provided Collector.
TransactionalGatherAndCompare gathers all metrics from the provided Gatherer and compares it to an expected output read from the provided Reader in the Prometheus text exposition format.