I have this InfluxDB query for status-code per second:
SELECT sum("value") FROM "http_reqs" WHERE $timeFilter GROUP BY time($__interval), "status"
However I want another graph (bar chart) which is simply a tally of all status codes seen.
Status Code 200: 123
Status Code 404: 5
Status Code 500: 15
I thought it would just be the case of removing the “time($__interval)” group by.
But that hasn’t done the trick.
Any help would be appreciated!