Allow routing based on span attribute in routing processor #35293
Labels
enhancement
New feature or request
needs triage
New item requiring triage
processor/routing
Routing processor
Component(s)
processor/routing
Is your feature request related to a problem? Please describe.
Our application serves at the same time multiple tenants (tenant is identified at runtime on request basis) and we want to enable clear separation of the trace data.
To distinguish which span belongs to a certain tenant we add this as span attribute "tenant-name" on our spans.
Currently it is not possible to use the routing processor as it does only allow routing based on resources attributes.
Describe the solution you'd like
It would be nice if the routing processor supports routing based on span attributes.
Describe alternatives you've considered
Our current work around is (as we have limit amount of tenants) to define multiple exporters locally and first duplicate the messages locally and then use the filter processor to remove the unwanted ones in our collector.
Additional context
No response
The text was updated successfully, but these errors were encountered: