I am operating on Grafana 9
I have two columns i am querying from Postgres to Grafana viz; time and hstore, the hstore(hash map/dictionary) as I want to use time series graph. I am new to PSQL don’t use much.
I want to use the time column as X axis and the values of the keys from hstore as Y axis for different keys(Labels)
Basically dashboard needs to show a time series graph for each Key from the hash map. The Key is variable and can change
So far i tested it with static Key, it works fine. But since the key is variable I am not able to do it. Below is the working scenario with static keys.
Awesome this worked thank you @clevernessisamyth
Although looks like the hstore stores the integers as strings and have to add one more transform to transform the fields. Is there a way i can avoid the seconds transform.(can hstore keep the values in intergers?)