cloudflare/pint
Prometheus rule linter/validator
https://skillcdn.ai/gh/cloudflare/pintConnect this address to your AI to use these skills. How to connect
- Unverified
- Default branch
main - Commit
31ced2f - License
Apache-2.0 - Searchwords
Explore this repository
Searches the original text of skills and documents, and the translations of skills when you search in their language.
Documents
- promql/aggregateThis check is used to inspect promql expressions and ensure that specific labels are kept or stripped away when aggregating results. It's mostly useful in recording rules.docs/checks/promql/aggregate.md
- promql/counterThis check will find rules with invalid use of counters. Counters track the number of events over time and so the value of a counter can only grow and never decrease. This means that the absolute val…docs/checks/promql/counter.md
- promql/featuresThis check verifies that PromQL queries don't use features that require --enable-feature=... flags that are not enabled on the Prometheus server this rule would be deployed to.docs/checks/promql/features.md
- promql/fragileThis check will try to find alerting rules that might produce flapping alerts.docs/checks/promql/fragile.md
- promql/impossibleThis check will report PromQL queries that can never return anything.docs/checks/promql/impossible.md
- promql/nanThis check warns when a division or modulo operation inside an aggregation can produce non-finite values (NaN or Inf), causing the entire aggregation result to become non-finite.docs/checks/promql/nan.md
- promql/offsetThis check inspects all selectors in queries for offset usage. It will warn if a selector uses an offset that is larger than the Prometheus retention period, since such a query will never return any…docs/checks/promql/offset.md
- promql/range_queryThis check inspects range query selectors on all queries. It will warn if a query tries to request a time range that is bigger than Prometheus retention limits.docs/checks/promql/range_query.md
- promql/rateThis check inspects rate(), irate() and increase() function calls used in queries to verify that:docs/checks/promql/rate.md
- promql/regexpThis checks will inspect all query metric selectors that use regexp matchers to look for common problems.docs/checks/promql/regexp.md
- promql/selectorThis check is used to enforce rules on how vector selectors must be structured.docs/checks/promql/selector.md
- promql/seriesThis check will query Prometheus servers, it is used to warn about queries that are using metrics not currently present in Prometheus. It parses expr query from every rule, finds individual metric se…docs/checks/promql/series.md
- promql/syntaxThis is the most basic check that will report any syntax errors in a PromQL query on any rule.docs/checks/promql/syntax.md
- promql/vector_matchingThis check will try to find queries that try to match vectors but have different sets of labels on both sides of the query.docs/checks/promql/vector_matching.md
Skipped (2)
These manifests were not served. Fix them and push: the next commit is indexed again.
README.mdlink_missinga link names no file of the repository (/docs/examples)docs/changelog.mdlink_missinga link names no file of the repository (/docs/CONFIGURATION.md#template)