docs(promql): document comparisons between aggregations and label parameters #168193
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.36) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 210 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.320
Real PR Conversation Timeline
1 comments
"Review active on #168193"
general
weight: 0.35
kosabogi
The PromQL docs say that comparing two instant vectors isn't supported, and they don't document identifier parameters in the
PROMQLcommand. Both have worked since 9.6.Comparisons between aggregations
A comparison between two aggregations with
on(...)orignoring(...), such assum by (job) (x) > on(job) sum by (job) (y), works with or withoutbool, also inside another expression. The verifier rejects a comparison only when it has no vector match.on(...)orignoring(...).PromqlDocsSupport, so theeq,neq,gt,gte,ltandltesnippets are regenerated withPromqlKibanaDefinitionGeneratorTests.Label parameters
#154667 added named and positional identifier parameters, such as
??labeland??1, to label lists such asby (...)andon (...). A new "Label parameters" section on thePROMQLcommand page documents them.After this merges, the copies of the
PROMQLcommand page in Kibana andelastic/agent-skills-sandboxneed a refresh, asdocs/reference/query-languages/promql/AGENTS.mddescribes.🤖 Generated with Claude Code