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 | 125 files |
Related languages
LLM-contributed programs
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
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.)