This message was deleted.
# support
s
This message was deleted.
p
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
how can i get the PromQL from these dashboards on grafana?
p
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.
1
s
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
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
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
@Vishal Sharma would be a better person to answer this.
a
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
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
@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
i scheduled for 6:30 today if that is okay? else we can do earlier time slot tomorrow
a
should be okay