Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow routing based on span attribute in routing processor #35293

Open
Christian-Schmid opened this issue Sep 19, 2024 · 1 comment
Open

Allow routing based on span attribute in routing processor #35293

Christian-Schmid opened this issue Sep 19, 2024 · 1 comment
Labels
enhancement New feature or request needs triage New item requiring triage processor/routing Routing processor

Comments

@Christian-Schmid
Copy link

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

@Christian-Schmid Christian-Schmid added enhancement New feature or request needs triage New item requiring triage labels Sep 19, 2024
@github-actions github-actions bot added the processor/routing Routing processor label Sep 19, 2024
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage New item requiring triage processor/routing Routing processor
Projects
None yet
Development

No branches or pull requests

1 participant