Discover Packages
gitee.com/wangtian213/prometheus
util
promlint
package
Version:
v2.0.0-beta.5+incompat...
Opens a new window with list of versions in this module.
Published: Sep 21, 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 Source Files Overview Index Constants Variables Functions Types type Linter type Problem New(r) (l) Lint()
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.