Indra R

11/28/2022, 9:25 AM
ooh, i have spring boot app too, and i kind a have similar problem. so basicly in this doc, it said to run the instrumentation agent and run application is using command:
java -javaagent:/path/opentelemetry-javaagent.jar \
    -Dotel.exporter.otlp.endpoint=http://<IP of SigNoz Backend>:4317 \<app_name> \
    -jar <myapp>.jar
but my developers using
mvnw spring-boot:run
is there any workaround too in springboot app ?

Vishal Sharma

11/28/2022, 1:00 PM
You can follow below doc: It also use mvnw to package the app. mvnw is also a wrapper around springboot.