Replies: 3 comments 12 replies
-
What SpanProcessor do you have configured? With a BatchSpanProcessor, none of the export work should be being done on the application thread. If you use the SimpleSpanProcessor, it will be done on the same thread that ends that span. |
Beta Was this translation helpful? Give feedback.
-
Oh, you mention the java agent. The agent should be configuring a BatchSpanProcessor, so I don't think this activity is on the main application thread. |
Beta Was this translation helpful? Give feedback.
-
@bmistry13 Are you enabling the agent on an application that you've also manually configured an SDK with the SimpleSpanProcessor and the Zipkin exporter? You should definitely not have both the agent and your own copy of the SDK running in the same application. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I am using the latest Release v1.1.0 java agent to do instrumentation, and I see in the Zipkin call graph that Agent is making many calls to export POST inline (same application thread doing work) for each span. Is it possible to configure Zipkin exporter as ASYN so the application thread does not pay the cost to POST instead it will collect all spans in memory and post Asyncly in batch to the Zipkin server?
here is sample:
http.flavor1.1
http.methodPOST
http.status_code202
http.urlhttp://10.40.43.210:9411/api/v2/spans
net.peer.name10.40.43.210
net.peer.port9411
net.transportIP.TCP
otel.library.nameio.opentelemetry.javaagent.okhttp-3.0
otel.library.version1.1.0
thread.id232
thread.nameOkHttp http://10.40.43.210:9411/...
Please let me know if there any configuration Zipkin exporter that can be done ASYNC.
Thanks,
Bhavesh
Beta Was this translation helpful? Give feedback.
All reactions