Kafka clients Sampling customisation based on client applications throughput #2814
Unanswered
Karthickramk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Everyone,
I have been exploring options to sample spans based on the number of messages that the application produces/consumes.
For example:
Let's say there are 4 different Kafka applications using our instrumentation extension. The extension library should have a sampler which should dynamically decide and configure the sampling rate for each of the application based on the throughput for that particular application. Our extension should not configure a common sampling rate for all applications.
Application A - Produces 10000 messages per mins. For this we might want to create spans for all messages.
Application B - Produces 100000 messages per mins. For this we might want to create spans for all messages.
Application C - Produces 500000 messages per mins. For this we might want to create spans for 100000 messages.
Application D - Produces more than 500000 messages per mins. For this we might want to create spans for 100000 messages.
Is there any way to achieve this with out of the box samplers?
Thanks,
Karthick
Beta Was this translation helpful? Give feedback.
All reactions