milvus-sdk-java icon indicating copy to clipboard operation
milvus-sdk-java copied to clipboard

enhance: Support trace context propagation and traceID visibility

Open tinswzy opened this issue 11 months ago • 2 comments

Support trace context propagation and traceID visibility

tinswzy avatar Jan 16 '25 01:01 tinswzy

You don’t need to modify the application code to support trace context propagation or make trace IDs visible. The OpenTelemetry Java SDK can be instrumented into the JVM at startup without code changes.

A working example is available here: https://github.com/topikachu/milvus-java-otel

topikachu avatar May 18 '25 06:05 topikachu

it seems to use -javaagent:opentelemetry-javaagent.jar to enable trace.

Thanks for the advice, amazing

xiaofan-luan avatar May 22 '25 12:05 xiaofan-luan