-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
OpenTracing Jaeger: Probabilistic sampler didn't work #21002
Comments
/cc @Ladicek, @radcortez |
The only difference that I have is the OS. Let me see if I can dig up a Windows VM to try that out. |
I'll ask on Monday one of my colleagues that have a Mac to test and see if it works. |
I was able to try this on my Windows VM and it also works... wondering if it may be a difference in the jaeger docker image we are getting? I would expect it would be the same for both of us. |
Any update on this? |
Just tried it on my Windows laptop using Quarkus 2.6.1 and I can reproduce the issue. |
Just tried also on my Linux laptop and I can also reproduce the issue. |
Using tcpdump I can clearly see that when using probabilistic sampler no UDB packet are sent to the port 6831 but when using constant sampler I can see the packets. |
Ok, I'll have another look. |
Thanks |
We were able to determine that this is caused by writing the probabilistic value in format, that the Jaeger configuration would not read property due to the default Locale. |
Describe the bug
When using a probabilistic sample (with 0.5 as sampling rate) no traces are generated.
When using a constant sampler (with 1 as sampling rate) traces are correctly generated.
Expected behavior
We can use a probabilistic sampler in Quarkus.
Actual behavior
No response
How to Reproduce?
Steps to reproduce:
https://www.jaegertracing.io/docs/1.22/sampling/#client-sampling-configuration): jaeger-probabilistic-sampler.zip
docker run -p 5775:5775/udp -p 6831:6831/udp -p 6832:6832/udp -p 5778:5778 -p 16686:16686 -p 14268:14268 jaegertracing/all-in-one:latest
mvn quarkus:dev
curl localhost:8080/hello
If you switch to a constant sampler, traces will shows up, you can verify this by updating the configuration with
Output of
uname -a
orver
Microsoft Windows [version 10.0.19042.1237]
Output of
java -version
openjdk version "17" 2021-09-14
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.3.1.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.6.3
Additional information
No response
The text was updated successfully, but these errors were encountered: