I am using Grafana 11.1.0 on windows 11.
I have some time-series data in a PostgreSQL data source. My data consists of sensor data for multiple machines. I have a table that includes every machine’s sensor data where each row is distinguished by the machine ID and its timestamp. I want to get a variable I’ll call “baroalt” for each machine in a given state, and overlay them on top of each other onto the same panel. I’m imagining something like this:
The problem is, each machine was tested on different dates and at different times, to the times would not be synced up.
My question is, is there a way I can still do this? If this is not possible, I would like to make some kind of multi-part panel of the machines side by side. I am very new to Grafana and would appreciate any help I can get.
Here’s an idea of the kind of query I would want to run:
SELECT v.machine_id, utc_timestamp as time, baroalt from v_metadata as vm
INNER JOIN v_data as v on v.machine_id = vm.machine_id
where v.“utc_sec” BETWEEN takeoff_start AND takeoff_stop
I am also applying a multiframe time-series transformation.
This is what the above query returns:
As you can see, this is not useful for any kind of comparison as I need to Zoom out a lot before I can see all the machines, and they aren’t overlayed.
For reference, here’s a zoom in on one of them:
Any suggestions on how I can create a more useful visual representation of this data would be appreciated!