[karpenter] Collect and describe all the metrics of Karpenter v1.15 #26177
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.37) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 214 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.321
Real PR Conversation Timeline
1 comments
"Review active on #26177"
general
weight: 0.35
AlexanderYastrebov
What does this PR do?
scripts/karpenter_metrics_v1, a Go tool that prints the metrics that Karpenter v1.15 registers, astests/fixtures/karpenter_metrics_v1.txt.karpenter_metrics_v1_renamed.txt, a small file of metrics that older v1 releases named differently.They ensure that the check submits every metric in them, and that every submitted metric has a row in
metadata.csvof the right type.Once the tool is bumped to a newer Karpenter and the file is regenerated, the tests fail until each metric that Karpenter added is in the mapping and in
metadata.csv.metadata.csv.karpenter_ignored_pod_count.leader_election_slowpath, mapsaws_sdk_go_request_retry_count, and replacesoperator_node_event_countwithoperator_node_event.Motivation
Keep integration metrics up to date to the latest Karpenter release.
Updates https://datadoghq.atlassian.net/browse/CASCL-2141
Checklist before requesting review
🤖 Generated with Claude Code