We are using Signoz as standalone and we are execu...
# support
p
We are using Signoz as standalone and we are executing Java app on Kubernetes. Can we configure Opentelementry on Kubernetes? The requiremnt is we are adding Opentelementry to all services's Dockerfile, it will be good if we have opentelemtry on Kubernetes
a
yes...signoz is installed independently in your case...instrument your java apps as in docs and just point opentelemetry to send data to signoz's instance
place the correct IP of machine where signoz is hosted at `
Copy code
OTEL_EXPORTER_OTLP_ENDPOINT
p
Thanks, I'll check and inform you
Is there any way except
Copy code
-javaagent:/path/to/opentelemetry-javaagent.jar
Currently app is running with mentioned way but for this approach we need to copy agent.jar in Dockerfile
a
yes..you need to either copy the jar or use
wget
in the docker file to download the jar
p
Okay
I'm looking for a centralized way as it requires manual efforts also if we want to change version then we need to update in all repositories!
a
then you should follow operator based approach which does not require any changes to your application and injects the jar at runtime rather than build time
many company prefer it this way. Let me share docs for that
p
Thanks @Ankit Nayan. This will help me out