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

How to update central sampling configuration dynamiclly #388

Closed
NareshBhanawat opened this issue Mar 18, 2020 · 1 comment
Closed

How to update central sampling configuration dynamiclly #388

NareshBhanawat opened this issue Mar 18, 2020 · 1 comment

Comments

@NareshBhanawat
Copy link

I am planning to use remote sampling configuration in my clients, which will then fetch the sampling config from agent using http://jaeger-agent:5778/sampling?service=ABC endpoint after some fixed interval.

In some cases, I might want to update this central configuration at runtime based on some conditions. How to change it dynamically so that when the clients fetch it next time, they get the updated configuration? I could not find any information about it in the documentation (there is only a static file based configuration). Is there a PUT call allowed on sampling endpoint to update the sampling config for all services centrally? If so, what is the data format expected?

@yurishkuro
Copy link
Member

There is a still-open PR to allow reloading sampling strategies from a file when the file changes.

jaegertracing/jaeger#2040

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants