fix(byoo-otel-collector): preserve workload metric drop labels - #1007
fix(byoo-otel-collector): preserve workload metric drop labels#1007kristinapathak wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (7)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 WalkthroughWalkthroughBYOO workload metric drop labels now extend the default ChangesBYOO metric subset label handling
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The change preserves configured workload metric drop labels across the affected metrics paths and updates documentation; no actionable merge-blocking risk remains after normal validation and review. Sequence Diagram(s)sequenceDiagram
participant MetricPipelineConstruction
participant addMetricSubsetPipeline
participant WorkloadDropLabelProcessor
participant MetricsTransform
MetricPipelineConstruction->>addMetricSubsetPipeline: pass workload drop-label processor ID
addMetricSubsetPipeline->>WorkloadDropLabelProcessor: insert processor
WorkloadDropLabelProcessor->>MetricsTransform: apply configured and default label drops
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.12.2)level=error msg="Running error: context loading failed: failed to load packages: failed to load packages: failed to load with go/packages: err: exit status 1: stderr: go: -mod may only be set to readonly or vendor when in workspace mode, but it is set to "mod"\n\tRemove the -mod flag to use the default readonly value, \n\tor set GOWORK=off to disable workspace mode.\n" Comment |
Signed-off-by: Kristina Pathak <kpathak@nvidia.com>
ab46f1f to
ebe7efa
Compare
TL;DR
metric_subset_enableddrop label when users configure additional workload metric labels.Additional Details
For the Reviewer
internal/otelconfig/render.go.For QA
Issues
Closes #1006
Checklist
Summary by CodeRabbit
Bug Fixes
metric_subset_enabledlabel removal behavior.Documentation