PromQL
1 program
Added 2026-02-11T13:51:44Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Prometheus Query Language
Provenance: commit a857c3e2a1 · authored 2026-02-11T14:52:38+01:00 · agent claude-code · model sonnet
Sources mentioning this language
3 sources · pl_id:
pl/promqlExtensions claimed by this language
1 claim. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.promql | pygments | primary | 431 files |
Related languages
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
HTTP Monitoring Queries
Provenance: commit a857c3e2a1 · authored 2026-02-11T14:52:38+01:00 · agent claude-code · model sonnet · WebSearch disabled
# Query to calculate the per-second rate of HTTP requests over the last 5 minutes
# Grouped by status code and handler, filtered for non-2xx responses
sum by (status, handler) (
rate(http_requests_total{status!~"2.."}[5m])
) > 0.01
# Query to calculate 95th percentile request duration
histogram_quantile(0.95,
sum by (le) (
rate(http_request_duration_seconds_bucket[5m])
)
)
# Query to detect high error rates (>5% errors)
(
sum(rate(http_requests_total{status=~"5.."}[5m]))
/
sum(rate(http_requests_total[5m]))
) > 0.05