-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
support jaeger.tags when calling 'GetSamplingStrategy', e.g. return R… #1687
Conversation
…ATE_LIMITING when jaeger.tags = {region,CA} Signed-off-by: osfriend <[email protected]>
@pavolloffay @jpkrohling could you help to review this PR, I have not idea about CI build failure. |
Could you please first open a ticket and describe the business use case that you're trying to solve? |
@yurishkuro add issue for this PR, #1692 |
Thanks. So it looks like this PR only passes the agent tags as metadata to the collector, it does not actually implement being able to vary sampling strategies in response to those tags. |
your are right, It is easy to write code for passing tags to collector . but It is complex to get sampling strategies for composing serviceName and agentTag.
I have no clean idea about how to config the priority for serviceName and agentTag. Could you please give me some help? |
There is a related proposal here #365 (comment), which will require representing sampling rules with more granularity than just service-operation as today. That approach is easily generalizable to include agent tags. |
yes, it is a good generalizable proposal. When is it probably done? could you please merge the agent code first, then I extended agentTag Sampling base this sampling rules. |
I don't know if @lookfwd made any progress on it. We internally have similar requirements and will likely work on that functionality in September. But we haven't finalized the backend design yet. I don't want to merge this PR until we have a design for the backend, because it's not guaranteed that we will want to keep the data path in this form. We can keep it open for now. |
What's the status of this PR? |
…ATE_LIMITING when jaeger.tags = {region,CA}
Signed-off-by: osfriend [email protected]
Which problem is this PR solving?
SamplingStrategy support for agent level tag
e.g. return RATE_LIMITING when jaeger.tags = {"region","CA"}
Short description of the changes
transparent metadata which converted from 'jaeger.tags' to collector service