https://signoz.io logo
#support
Title
# support
p

Prakshal Shah

10/06/2022, 11:02 AM
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

Ankit Nayan

10/06/2022, 11:05 AM
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

Prakshal Shah

10/06/2022, 11:07 AM
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

Ankit Nayan

10/06/2022, 11:11 AM
yes..you need to either copy the jar or use
wget
in the docker file to download the jar
p

Prakshal Shah

10/06/2022, 11:12 AM
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

Ankit Nayan

10/06/2022, 11:15 AM
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

Prakshal Shah

10/06/2022, 11:18 AM
Thanks @Ankit Nayan. This will help me out
5 Views