Retracted
The highest tagged major version is
v2 .
Discover Packages
github.com/prometheus/prometheus
util
promlint
package
Version:
v2.0.0-rc.3+incompatible
Opens a new window with list of versions in this module.
Published: Nov 4, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package promlint provides a linter for Prometheus metrics.
A Linter is a Prometheus metrics linter. It identifies issues with metric
names, types, and metadata, and reports them to the caller.
New creates a new Linter that reads an input stream of Prometheus metrics.
Only the text exposition format is supported.
Lint performs a linting pass, returning a slice of Problems indicating any
issues found in the metrics stream. The slice is sorted by metric name
and issue description.
A Problem is an issue detected by a Linter.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.