-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[connector/routing] Dynamic routing config from discovery #40189
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
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I have a few questions regarding your scenario. Is your backend static, or does it also involve dynamic elements? Could you please provide more detailed examples to better demonstrate your case? |
The backend is Loki/Mimir/Tempo (so relies on X-Scope-OrgId header for tenancy) or another collector with a URL that is dynamic to the namespace it's deployed to. It's one of a few other use cases I've been thinking about - such as the ability to ingest cloudwatch logs via kinesis and fan out to different tenancies based on the AWS account. |
if the backend is also dynamic, I believe it a very complex case. |
I'm happy to consider other solutions outside the collector (such as patch on event + hot-reload I've mentioned above) - just need to know if there is appetite to have something native to the collector or if there is a better way to do it |
Uh oh!
There was an error while loading. Please reload this page.
Component(s)
connector/routing
Is your feature request related to a problem? Please describe.
I have a multi-tenanted kubernetes platform where I wish to send telemetry to different backend tenants/destinations based on the namespace, annotations used in deployments on the cluster. I can't think of a way to do this dynamically on the collector, such that a new pod comes up and it's dynamically included as part of the routing table.
Describe the solution you'd like
Ability to discover routing configs and apply them dynamically. This would still require being able to dynamically create exporters, but this is the critical part for my use case
Describe alternatives you've considered
Writing a basic controller that watches namespaces/whatever resource I'm interested in that patches the collector configMap with new routing configs/exporters and hot-reloads config from sidecar.
Additional context
No response
The text was updated successfully, but these errors were encountered: