-
-
Notifications
You must be signed in to change notification settings - Fork 158
consolidate attributes insertion in otel-metrics #1520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
consolidate attributes insertion in otel-metrics #1520
Conversation
remove `metrics_` and `exemplar_` prefixes in otel-metrics When key collision happens i.e. attributes at two different hierarchies in the incoming event have same attribute, the later overrides the previous attribute entry in the ingested event. We will add this behaviour to the documentation.
WalkthroughThe change consolidates attribute insertion logic in OpenTelemetry metrics handling by replacing two specific helper functions ( Changes
Possibly related PRs
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: Repository UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-08-25T01:31:41.786ZApplied to files:
🧬 Code graph analysis (1)src/otel/metrics.rs (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
🔇 Additional comments (3)
✏️ Tip: You can disable this entire section by setting Comment |
remove
metrics_andexemplar_prefixes in otel-metricsWhen key collision happens i.e. attributes at two different hierarchies in the incoming event have same attribute, the later overrides the previous attribute entry in the ingested event.
We will add this behaviour to the documentation.
Summary by CodeRabbit
Note: This release contains no user-visible changes. Updates are internal to system architecture only.
✏️ Tip: You can customize this high-level summary in your review settings.