Hi all,
I am trying to graph multiple time series for a single metric in the graph panel, with data that comes from PostgreSQL. Current my query returns the data below. How can I tell Grafana that “value” is the value and that product and segment are labels?
I would like to see two series stacked in the graph:
{product=sxkpsptih, segment=foo}
{product=tm6pnswgh, segment=bar}
I have tried both “table” and “time series” queries and I can’t figure out how to make this work…
Thanks!
|time | product |segment |value
|----------------------------------|--------------------------------------------------------
|2020-10-16 02:00:00. | sxkpsptih | foo |1447988274.3606558 |
|2020-10-16 02:00:00. | tm6pnswgh | bar |5222104024.830601 |
|2020-10-17 02:00:00. | sxkpsptih | foo |1658802857.2819474 |
|2020-10-17 02:00:00. | tm6pnswgh | bar |5232467174.555781 |