This message was deleted.
# support
s
This message was deleted.
j
setenv.sh export CATALINA_OPTS=“$CATALINA_OPTS -javaagent:/Users/Downloads/opentelemetry-javaagent-all.jar” export OTEL_METRICS_EXPORTER=none export OTEL_EXPORTER_OTLP_ENDPOINT=localhost:4317 export OTEL_RESOURCE_ATTRIBUTES=service.name=webhook
p
Hey @User I have created a video explaining the process to instrument Tomcat server. Are you using the same method for running your Tomcat app? Might be a good idea to check the video once -

https://www.youtube.com/watch?v=4obQilMqU4E&ab_channel=SigNoz-OpensourceObservabilityplatform

Can you share what does the echo commands print when setenv.sh is executed?
j
@Pranay Thank you so much for replying. Sorry for the late reply, I just saw it. Here is the commands print:
I’m watching your video see if it can solve my issue. Thanks for sharing!
p
The OTLP exporter end point is not having a valid IP. Please put the IP of the SigNoz backend machine here
export OTEL_EXPORTER_OTLP_ENDPOINT=<IP of SigNoz Backend>:4317
j
can I put it as localhost:4317?
p
Yes, if you are running SigNoz on localhost
j
ya, I changed it to localhost:4317. But it still doesn’t show on the UI (localhost:3000)
p
try
<http://localhost:4317>
j
ya, still no luck😔
oh! It works now, not sure the root cause, I’ve tried many times before, but now it’s working😅
p
nice 🙂
j
@User Hey Pranay, thanks for your help! Can I ask another question? Is there any way I can see the external call duration by the url on the dashboard? For example, if an endpoint depends on multiple external services, when I hit this endpoint, other services’ endpoints will be called. In this case, can I know the duration of each external service?
p
Ok, let me see if I understand this correctly. You have something like
/externalcall-aggregator
api and this api internally calls lets say
twillio
and
paypal
api - you want to know the time taken by
twillio
and
paypal
api calls made by
/externalcall-aggregator
api ?
Is this primarily to understand why
/externalcall-aggregator
api is taking more time or there is some other use case?
j
ya! exactly!
if
/externalcall-aggregator
is taking more time, I would like to know it’s because of twillio or paypal
p
Ok, let me check this and get back to you @User
j
@User Thank you so much!
p
Hey @User you are asking API level external call timing...today we have service level external call timings, today we don't show external timing distribution of 
externalcall-aggregator
Would be great if you can create an issue with more details in this - so that we can potentially include this in our roadmap if there is demand from other users. https://github.com/SigNoz/signoz/issues/new/choose
j
sure @User, I will create an issue, thanks!!
p
but this can be seen in aggregate metrics in trace page by filtering for each external API one by one - if you really need this
You can filter external API call in the tag filter in traces page
j
got it, I will have a try! Thanks for your help!