Skip to content

Commit

Permalink
Fix otel_test
Browse files Browse the repository at this point in the history
  • Loading branch information
hasit committed Jan 23, 2024
1 parent 25748d7 commit 979218f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extensions/fluxninja/otel/otel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ func (b configBuilder) withMetrics(pipelineName string) configBuilder {
"batch/metrics-slow",
"attributes/fluxninja",
}
if pipelineName == "metrics/slow" {
processors = append(processors, "attributes/agent_group")
}
b.cfg.Service.AddPipeline(pipelineName, otelconfig.Pipeline{
Receivers: []string{"prometheus/fluxninja"},
Processors: processors,
Expand Down

0 comments on commit 979218f

Please sign in to comment.