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

Sumanth Balaji

07/07/2023, 7:37 AM
is this the right channel for this or should i ask in general?
p

Prashant Shahi

07/07/2023, 9:46 AM
Importing Grafana dashboard with variable is not supported by SigNoz at the moment.
You would have to create the panels on your own from the Dashboard page. You could copy the same PromQL to SigNoz widgets. Or use query-builder.
s

Sumanth Balaji

07/07/2023, 9:49 AM
how can i get the PromQL from these dashboards on grafana?
p

Prashant Shahi

07/07/2023, 9:54 AM
If PromQL is used in grafana dashboard, then it can be seen in the JSON.
Download the grafana dashboard JSON, and search for
"expr":
keyword. You should find the relevant PromQL next to it.
s

Sumanth Balaji

07/07/2023, 9:56 AM
got it, thank you
could you help out on one other question i have? how to get the time taken by a trace to go from 1 service to another?
p

Prashant Shahi

07/07/2023, 9:58 AM
you can open any trace from SigNoz Trace page to get the idea.
Use service and operation filters in Trace page to get relevant traces
s

Sumanth Balaji

07/07/2023, 10:06 AM
correct but thats at an individual trace level to give context, i have a microservice A that takes an api call from a webhook integration which (after passing through multiple microservices) reaches microservice B where a final external api call is made. I want to create a dashboard to track the average time taken for api calls (grouped by client) from microservice A to microservice B
the goal being getting alerted if this time taken is beyond certain threshold for any client
I tried to create a dashboard panel using traces, but i couldnt crack how to achieve this. Do you have any insights/suggestions ? @Prashant Shahi
p

Prashant Shahi

07/07/2023, 11:13 AM
@Vishal Sharma would be a better person to answer this.
a

Ankit Nayan

07/09/2023, 3:48 PM
Hi @Sumanth Balaji this can be done. I would use serviceName and name (operation) as filter and diff the startTime and group by traceID (or maybe grouping is not needed).
what's grouped by client that you would like to do? I would love to share a sample clickhouse query to enable the above use case. Let me know if I can help
s

Sumanth Balaji

07/10/2023, 8:21 AM
hi @Ankit Nayan, thanks for responding. I am not fully following the solution you are mentioning. Finding it tough to create the dashboard if okay with you, could we have a small huddle today when free? shouldnt take more than 10 mins Would love to learn from you
a

Ankit Nayan

07/10/2023, 8:39 AM
@Sumanth Balaji feel free to find a convenient time from https://calendly.com/ankit-nayan/meeting-with-ankit-nayan?month=2023-07. Sometime after 7pm today or 12pm/1pm/6pm/7pm/8pm tomorrow?
s

Sumanth Balaji

07/10/2023, 8:54 AM
i scheduled for 6:30 today if that is okay? else we can do earlier time slot tomorrow
a

Ankit Nayan

07/10/2023, 9:19 AM
should be okay