Expand description
What each metric is, for the code that registers it and for the metrics reference in the documentation (see archive/PROJECT.md, Observability): one list per role, so the name and help text are written once, and a test per role checks the type and labels against a scrape.
Structs§
- Metric
Doc - One metric: the name it is registered under, its type, labels and help text.
Enums§
- Metric
Kind - A metric’s type, as a scrape shows it.
Functions§
- scrape_
mismatches - What doesn’t match between
docsand ascrape(the text format) of a registry underprefixthat holds them, every label family having a member: a metric missing from the scrape or with another type, help text or label names, and a metric the scrape has butdocsdoesn’t. Empty when they match.