# cloudflare/pint

Prometheus rule linter/validator

Repository: https://github.com/cloudflare/pint
Canonical: https://ross.abutalabs.com/products/cloudflare-pint
Homepage: https://cloudflare.github.io/pint/
Language: Go
License: Apache-2.0
License Family: permissive
Topics: prometheus, metrics, linter, observability, validator
Last push: 2026-08-25T13:12:49+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 92, longevity 100
- inputs: {"age_days": 1959, "days_push": 8, "days_rel": 55, "gap_med": 3, "n_releases_24m": 58}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1040, forks 70 (observed 2026-08-28T04:03:20.104902+00:00)

## What it is
pint is a Prometheus rule linter and validator written in Go by Cloudflare. It checks alerting and recording rules for problems, either offline or by querying a live Prometheus server, and runs in CI, ad-hoc, or daemon modes.

## Use cases
- lint prometheus alerting rules in CI
- validate prometheus recording rules before merge
- check promql rules against a live prometheus server
- run a daemon that continuously validates rule files and exposes metrics
- find bugs in prometheus rule files offline

## When to choose
- you manage Prometheus alerting or recording rules and want automated validation
- you want to catch bad PromQL queries and rule mistakes in pull requests
- you need continuous rule checking with metrics output

## When to avoid
- you use Thanos or other partially compatible services instead of real Prometheus
- you need a linter for non-Prometheus monitoring systems

## Facets
- artifact type: cli-tool
- maturity: active
- function: linter, monitoring, testing, cli
- domain: monitoring, developer-tools
- platform: windows, cli
- tags: prometheus, alerting-rules, recording-rules, ci, static-analysis, cloudflare, devops, linux, macos, docker

## Member repositories
- cloudflare/pint (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:20.104902+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:03:28.837092+00:00, confidence not recorded.
  - readme: https://github.com/cloudflare/pint (fetched 2026-08-28T04:03:20.104902+00:00, sha 07ca3c5409cb)
  - homepage: https://cloudflare.github.io/pint/ (fetched 2026-08-29T13:04:07.096583+00:00, sha 34fa8fe30282)
- Data as of 2026-08-30T08:39:29.467469+00:00.
