-
Couldn't load subscription status.
- Fork 88
Description
What happened:
All dashboards break after upgrading the plugin from 3 => 4
What you expected to happen:
Everything should stay the same or improve
How to reproduce it (as minimally and precisely as possible):
I was able to break it down to the missing selector Format in QueryBuilder.
In version 3 i add a new graph as timeseries and define this query
select toStartOfMinute(dt) as dt,
count(*),
errorcode as code
from default.test
where (dt >= $__fromTime AND dt <= $__toTime)
group by dt, code
order by dt ascIn Format i select "Time Series". The graph is correctly showing a timeseries including my group-by data.
In version 4 the Format selector is missing. The time series graph is always ignoring the group-by data and only showing a wired graph with count() information.
I did check the JSON model of the dashboard and i see that it was marked as "queryType": "table" .
If i change manually the JSON model to timeseries it works again.
How can I make a timeseries graph with group-by work again in plugin version 4?
Anything else we need to know?:
Environment:
- Grafana version: OSS version and Cloud behave the same
- Plugin version: 3-4
- OS Grafana is installed on:
- User OS & Browser: Firefox / Chrome Mac OSx
- Others:
Metadata
Metadata
Assignees
Labels
Type
Projects
Status

