-
What Grafana version and what operating system are you using?
grafana: 9.1.2
os: Arch Linux -
What are you trying to achieve?
I am building a trace panel with data from influxdb. -
How are you trying to achieve it?
I am followingData API
section inTracing in Explore
(The link is attached in the below question). Influxdb has returned those required fields. But I can’t setframe.meta.preferredVisualisationType
to “trace”. -
What happened?
Even if grafana parsed response data successfully, it shows “No Data”. -
What did you expect to happen?
Trace will be show in trace panel. -
Can you copy/paste the configuration(s) that you are having problems with?
- Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
- Did you follow any online instructions? If so, what is the URL?
Tracing in Explore | Grafana documentation
Workaround:
After debuging, I found be the cause: “grafana/TraceView.tsx at 7979463bbf6a27aedfb7ed9e4aea0f0822efd12d · grafana/grafana · GitHub”. It checks: frame.meta.preferredVisualisationType === 'trace'
. After removing this condition, trace is shown in the panel.
I’m a newbie to grafana. Is there an official way to set preferredVisualisationType
? Or should i create an issue in github?
Thank you for your works!