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 routingprocessor read value from client.Metadata #27277

Closed
eugene-chernyshenko opened this issue Sep 30, 2023 · 1 comment
Closed

Allow routingprocessor read value from client.Metadata #27277

eugene-chernyshenko opened this issue Sep 30, 2023 · 1 comment
Labels
enhancement New feature or request needs triage New item requiring triage processor/routing Routing processor

Comments

@eugene-chernyshenko
Copy link

Component(s)

processor/routing

Is your feature request related to a problem? Please describe.

Setting tenant id in server auth extension to route data to correct exporter

Describe the solution you'd like

Is it possible to make routingprocessor take data from client.Metadata too, not only from grpc headers?

This may help for different server auth extensions

Example scenario:

1 In server auth extention we recognize tenant id by token
2 We put it in client.Metadata
3 In routingprocessor we get the required tenant id from client.Metadata by key and send the table data to the required exporter.

Describe alternatives you've considered

No response

Additional context

No response

@eugene-chernyshenko eugene-chernyshenko added enhancement New feature or request needs triage New item requiring triage labels Sep 30, 2023
@github-actions github-actions bot added the processor/routing Routing processor label Sep 30, 2023
@github-actions
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