TLDR Sumanth had trouble importing a Grafana dashboard and creating a custom trace between services on SigNoz. Prashant explained how to do so and then suggested Ankit who arranged a meeting with Sumanth to discuss further.
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.
how can i get the PromQL from these dashboards on grafana?
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.
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?
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
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
<@4K15aa> would be a better person to answer this.
Hi Sumanth 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
hi Ankit, 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
Sumanth feel free to find a convenient time from
i scheduled for 6:30 today if that is okay? else we can do earlier time slot tomorrow
should be okay
Sumanth
Fri, 07 Jul 2023 07:37:46 UTCis this the right channel for this or should i ask in general?