# Packages
Package promlint provides a linter for Prometheus metrics.
# Functions
CollectAndCompare registers the provided Collector with a newly created pedantic Registry.
CollectAndCount collects all Metrics from the provided Collector and returns their number.
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.
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.