Hi, I am trying to configure signoz+opentelemetry ...
# support
u
Hi, I am trying to configure signoz+opentelemetry with a jetty server. I have multiple applications deployed inside the jetty using jetty context files. I want to identify those applications separately inside signoz. Could you please direct me to any tutorial/document available? Thanks a lot.
v
You can use java agent to instrument jetty.
u
Hi Vishal, Thank you for your reply. I added those parameters to JAVA_OPTIONS of my jetty default file. But I can not see "my-app" appearing under the services of signoz interface.
JAVA_OPTIONS="-Djetty.home=/opt/jetty/default -Djetty.base=/opt/web/jetty-base -Djetty.logs=/opt/web/jetty-base/logs/ -Xmx1024m -Xdebug -agentlib:jdwp=transport=dt_socket,address=*:6006,server=y,suspend=n -javaagent:/opt/web/agents/opentelemetry-javaagent.jar -Dotel.resource.attributes='service.name=my-app' -Dotel.exporter.otlp.endpoint=http://localhost:4317 -Dotel.instrumentation.jetty.enabled=true"
Any idea what may be wrong?