Hi Team, I have a doubt regarding the service name
I was trying to monitor a node application with opentelemetry and signoz and it was doing fine. The only problem was it's not getting the service name resource attribute and the service is being shown as "unknown_service:node" in the dashboard. I have tried to provide the service name using semantic attributes in opentelemetry node sdk.
Thanks for you time.
Thanks for your reply,
Yes I have seen that and did according to that only.
I have imported semanticResourceAttributes from opentelemetry but didn't work out.
Furthermore there was a blog on the official signoz page about how to provide service name attribute while running the command but unfortunately that didn't work out as well.
06/04/2022, 7:13 AM
I see. can you share your tracing.js file?
06/04/2022, 9:42 AM
Here's a snapshot of the file, I can share the js file as well if you say!
Well I have found the solution... it's working now 😃. Thanks for your time and efforts.
06/04/2022, 11:21 AM
Can you share what was the solution? @Ritek Saxena Would be helpful for folks who check this thread in the future
06/04/2022, 12:28 PM
So what I did wrong was to provide resources in the node sdk.
I corrected by giving those resources to the provider.resource variable.