#support

Injecting Otelp and Resolving "Something Went Wrong" Issue

TLDR sarthak had questions about injecting Otelp agent into multiple microservices and faced an issue on SigNoz portal. Srikanth clarified Otelp agent usage and recommended checking docker and query-service.

Powered by Struct AI
Apr 19, 2023 (8 months ago)
sarthak
Photo of md5-bc67a182dac7a9be9e74164eebcd86ee
sarthak
01:48 PM
Hi Team , want to ask one question actually i have setted up signoz in my local machine , read the documentation properly , have a doubt that suppose in case of jar application i can inject the otel jar agent by passing in docker file of my microservice but suppose if i have to instument multiple microservices with war over tomcat packaging then will i need to pass the signoz backend hosted url and app-name in each of tomcat server's setenv.sh file in all instances where services are running as shown in documentation or there is another way to inject otel agent without intervention of runtime environment .
Apr 20, 2023 (8 months ago)
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
01:07 AM
> will i need to pass the signoz backend hosted url and app-name in each of tomcat server’s setenv.sh file in all instances
The default URL is localhost:4317 . You should make sure to configure the env OTEL_EXPORTER_OTLP_ENDPOINT to the SigNoz backend.
01:07
Srikanth
01:07 AM
> another way to inject otel agent without intervention of runtime environment
If you referring to they byte code injection, then no. that is how the auto instrumentation works.
sarthak
Photo of md5-bc67a182dac7a9be9e74164eebcd86ee
sarthak
07:44 AM
okay srikanth , thanks for the clearification
Apr 21, 2023 (8 months ago)
sarthak
Photo of md5-bc67a182dac7a9be9e74164eebcd86ee
sarthak
10:01 AM
Hi srikanth , i setted up signoz on ec2 instance , succesfully installed all docker images and continers are properly running but signoz portal is partially working as i m only able to see the ui components but no data in any of the component like services , traces , logs all sections are empty and always pop up comes with "something went wrong" , i enabled the required ports for all services that are running over docker but still no data is coming , can there be any possible other reason ??
10:14
sarthak
10:14 AM
Suddenly started getting "something went wrong " in my localhost too , unable to debug the issue !
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
03:21 PM
What does docker ps show? Do you see query-service running?