Discover Packages
github.com/slpcat/docker-images
monitoring
prometheus
busybox-prometheus
util
promlint
package
Version:
v0.0.0-...-2e5e298
Opens a new window with list of versions in this module.
Published: Nov 22, 2024
License: BSD-3-Clause, 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.