forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[processor/routing] Expand error handling on failure to build exporte…
…rs (open-telemetry#8125) * expand error handling on failure to build exporters * update changelog * add testcase scenario * run gofmt and add shutdown * fix imports
- Loading branch information
1 parent
a690209
commit 35ec590
Showing
4 changed files
with
90 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
processor/routingprocessor/testdata/config_multipipelines.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
receivers: | ||
nop: | ||
|
||
processors: | ||
routing: | ||
attribute_source: resource | ||
from_attribute: X-Tenant | ||
table: | ||
- value: acme | ||
exporters: | ||
- otlp/traces | ||
|
||
exporters: | ||
otlp/metrics: | ||
otlp/traces: | ||
|
||
service: | ||
pipelines: | ||
traces: | ||
receivers: | ||
- nop | ||
processors: | ||
- routing | ||
exporters: | ||
- otlp/traces | ||
metrics: | ||
receivers: | ||
- nop | ||
processors: [] | ||
exporters: | ||
- otlp/metrics |