AutoInstrumentation of Quarkus Application(java)

Viewed 90

I traversed too many articles but didn't find anything about auto-instrumentation of Quarkus application,

Manual Instrumentation for Quarkus application is given below.

adding this implementetion will automatically add all the required dependency for tracing to app.

implementation 'io.quarkus:quarkus-opentelemetry-exporter-otlp'

In application.properties after mentioning required configurations , we will be able to send traces to collector.

quarkus.application.name=manualInstrumentationForQuarkus
quarkus.opentelemetry.enabled=true
quarkus.opentelemetry.tracer.exporter.otlp.endpoint=http://localhost:4317
quarkus.opentelemetry.tracer.exporter.otlp.headers=Authorization=Bearer my_secret

Please answer me with any autoinstrumentation method where we can use agent to get traces from application without adding any dependency.

0 Answers
Related