What Grafana version are you using?
6.1.4
What datasource are you using?
postgresql 9.6
What OS are you running grafana on?
ubuntu 18
I am trying a graph using a postgre database. I have many records with its timestamp and I would like to make a bar graph with a count with the number of records grouped by hours.
I have got a nice graph but it does not give the expected results. I have something like this:
SELECT
__timeGroupAlias(timestamp,__interval),
count(id) AS “nids”
FROM table
WHERE
$__timeFilter(timestamp) AND
column= ‘Column’
GROUP BY 1
ORDER BY 1
format as Time series