feat: Show exponential histogram metrics in the metric name drop-down - #2687
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 5c1f231 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
🔵 Tier 2 — Low RiskSmall, isolated change with no API route or data model modifications. Why this tier:
Review process: AI review + quick human skim (target: 5–15 min). Reviewer validates AI assessment and checks for domain-specific concerns. Stats
|
Greptile SummaryThis PR adds exponential histogram metric names to the chart editor dropdown behind a feature flag. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (2): Last reviewed commit: "feat: Show exponential histogram metrics..." | Re-trigger Greptile |
a7eb199 to
5c1f231
Compare
Deep Review✅ No critical issues found. This change adds Exponential Histogram metrics to the metric-name dropdown entirely behind 🟡 P2 -- recommended
🔵 P3 nitpicks (5)
Reviewers (7): correctness, testing, maintainability, project-standards, kieran-typescript, ce-agent-native-reviewer, ce-learnings-researcher. Testing gaps:
|
E2E Test Results✅ All tests passed • 241 passed • 1 skipped • 1017s
Tests ran across 4 shards in parallel. |
Summary
This PR updates the chart editor to include Exponential Histogram metric names in the metric name selector. This behavior is gated behind a new
NEXT_PUBLIC_ENABLE_EXPONENTIAL_HISTOGRAMSenvironment variable, which is disabled in all environments while support for querying exponential histogram metrics is in progress.Screenshots or video
How to test on Vercel preview
This must be tested locally, so that you can enable the NEXT_PUBLIC_ENABLE_EXPONENTIAL_HISTOGRAMS flag. You'll also likely need to insert a metric data point into the
otel_metrics_exponential_histogramtable and ensure your Metrics source has registered that table.References