-
Notifications
You must be signed in to change notification settings - Fork 806
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
[PLugin] OpenTelemetry Tracer Plugin make request processing time increase #9961
Comments
How does your observability stack look like? The plugin is sending a OTLP http request for sending the trace info to a backend. So if your backend is quite far away, it can take quite some time. One alternative is this - https://opentelemetry.io/docs/collector/deployment/agent/ |
My backend is pretty close so I think it's not due to this. I tried with opentelemetry-cpp version 1.3.0 and as a result request time is faster than branch master . Note: The results I posted above is from the opentelemetry branch master#.
I will try this later, |
300+ms is still a lot. I have not got the time to try the latest opentelemetry-cpp release. So I can't say if there is anything changed in the sdk that will cause this much latency. |
@shukitchan Have you tried using opentelemetry without collector? |
I think i found problem in the plugin. I change span processor from SimpleSpanProcessor to BatchSpanProcessor. This solved my problem. |
What would be the number after the change? Do you want to submit a pull request for the change? |
This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community. |
Hi everyone,
I using TrafficSrever branch: master - #828b7d3. I trying OpenTelemetry Tracer Plugin to manage tracer for system. When i use the plugin, it make request processing time increase.
When use plugin:
Don't use plugin:
Has anyone used this plugin yet?
The text was updated successfully, but these errors were encountered: