Allow routingprocessor read value from client.Metadata #27277
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.
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
The text was updated successfully, but these errors were encountered: