-
Notifications
You must be signed in to change notification settings - Fork 786
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 ignore some traces or methods being collected #7511
Comments
Hey @kingkongpoon , Can you post full contents of that unwanted span? |
HI @mateuszrzeszutek . KafkaMessageListenerContainer$ListenerConsumer$$Lambda$.run or the original span data in elasticsearch ? some of my springboot project will consume message from kafka ,and the message can be 6 million per minute . how to ignore it ? |
Yeah, these spans are created by the spring scheduler. |
Ok, it works,thanks a lot. :) |
That's a jaeger feature: https://www.jaegertracing.io/docs/1.21/deployment/#clock-skew-adjustment |
OK ,thank you ! 👍 |
Hello @mateuszrzeszutek |
Hey @kingkongpoon , What version of the agent are you using? The fix I made was included as a part of the 1.22.0 release. |
@mateuszrzeszutek Hello |
The If you're missing it, then perhaps there is a bug in the OTel SDK - please file an issue in the opentelemetry-java repo. |
Hey @mateuszrzeszutek |
No, there are no metrics like that. You can investigate the spans themselves though.
These look like SERVER spans; perhaps there is some process that periodically calls your application? Disabling the server instrumentations entirely is not exactly a good idea; you could use a custom sampler to filter these out though - take a look at #1060, might be useful for your case. Anyway, since this deviated from the original topic, if you run into any other problems please open a new issue. |
What would be the equivalent for |
hi @MartinEmrich, can you open a new issue for your question? thx |
Java 8
SpringBoot 2.3.5.RELEASE
otel 1.19.0
my project have a kafka consumer
then it will collect too many traces which I don't want
code like this
Operation like this
KafkaMessageListenerContainer$ListenerConsumer$$Lambda$.run
this is otlp metrics for per minute
![image](https://user-images.githubusercontent.com/24726697/210761610-26ce72f8-15a8-4f52-a2be-d71ac53ef6a6.png)
how to ignore it?
The text was updated successfully, but these errors were encountered: