Closed swiatekm closed 9 months ago
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
@swiatekm-sumo, would you like to open a PR addressing this one?
@swiatekm-sumo, would you like to open a PR addressing this one?
Sure, you can assign to me. I'm not completely sure what the solution should look like though, as currently deleting the routing attribute is done via an OTTL statement during route determination. Since there's no OTTL for the default path, I'd need to add an awkward special case.
Maybe we should add the ability to run OTTL on the default path the same way we allow it in the routes?
I'm not sure I like that. Users can still use the transform/attribute processors to remove that, can't they?
I'm not sure I like that. Users can still use the transform/attribute processors to remove that, can't they?
They can when using the connector, although this makes the pipeline more complex for a relatively simple use case. But the processor requires that it be the last one in the pipeline, so no more transformations. This is why this option was added in the first place.
Got it. Given that it's our intention to deprecate the processor in favor of the connector, I'm not sure I would implement this at this point.
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers
. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
This issue has been closed as inactive because it has been stale for 120 days with no activity.
Component(s)
processor/routing
What happened?
Description
The routing processor doesn't drop routing attributes if none of the routes match.
Steps to Reproduce
Modify an existing test to use the default exporter, for example:
Expected Result
Routing attribute should always be dropped, even when using the default exporter.
Actual Result
Routing attribute is only dropped when using one of the explicit routes.
Collector version
0.82.0
Environment information
No response
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response