vishruti
vishruti

Reputation: 475

How to get proper graph in Grafana

I am using postgresql database with grafana. I have shared the snapshot of graph that i am getting, its very difficult to understand. Please let me know how to get proper graph which is easy to understand. enter image description here

Upvotes: 1

Views: 212

Answers (1)

vishruti
vishruti

Reputation: 475

I tried query like this and it worked for me, just needed to add the order by

Select ts as time, key AS metric, long_v as value FROM public.ts_kv WHERE key = 'PressureZ' order by time

inorder to get graph in proper format we need to add order by.

Upvotes: 1

Related Questions