I recently upgrade my grafana from 13.0.1 to 13.1.1.
And I got 2 trouble when i went on my dashboard.
I use MySQL, it should not be a time zone trouble.
First : I have no more date show, they are in my DB but not show on my panel (translate : No data available)
SELECT
UNIX_TIMESTAMP(CONVERT_TZ(`timestamp`, ‘Europe/Berlin’, ‘+0:00’)) * 1000 AS time,
SUM(V_nombre_P1) AS P1,
SUM(V_nombre_P2) AS P2
FROM plcnext.opcua
WHERE UNIX_TIMESTAMP(CONVERT_TZ(`timestamp`, ‘Europe/Berlin’, ‘+00:00’))
BETWEEN $__unixEpochFrom() AND $__unixEpochTo()
AND (
V_nombre_P1 IS NOT NULL
OR V_nombre_P2 IS NOT NULL
)
GROUP BY $__timeGroup(`timestamp`, ‘1h’)
ORDER BY $__timeGroup(`timestamp`, ‘1h’)
And the second one is i cant sort my bar chart with the time period select : Before the upgrade, when i select Last 1 hour, the panel only show the last hour, now it show all the data since the start

SELECT
timestamp,
SUM(V_nombre_P1) AS P1,
SUM(V_nombre_P2) AS P2
FROM plcnext.opcua
WHERE (
V_nombre_P1 IS NOT NULL
OR V_nombre_P2 IS NOT NULL
)
GROUP BY $__timeGroup(timestamp, ‘1h’)
ORDER BY $__timeGroup(timestamp, ‘1h’)







