OpenMarine
Grafana/Influxdb - different context - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3)
+--- Thread: Grafana/Influxdb - different context (/showthread.php?tid=5172)



Grafana/Influxdb - different context - Techstyle - 2024-02-13

I am pretty new to Influxdb/grafana so bear with me

I have an influxdb up and running and have added RPi CPU and GPU temps to a graph:

   

the problem is that there are 3 CPU lines and 3 GPU lines and they are different SignalK uuid but they are really triggered by reboots (everytime I reboot, I get a new uuid).  Is that normal?  should I get a new line colour as soon as I reboot?  is there a way to merge them?


RE: Grafana/Influxdb - different context - Ryban - 2024-02-15

I don't have a solution, but just wanted to tag on that I have the same issue I was hoping to resolve.

It's especially annoying when you have a gauge-type visualization, because you'll get a separate gauge displayed for each separate context.

My suspicion is there's a way to write a Flux query such that the context data isn't provided to Grafana, and only the value is instead. That way, Grafana would have no idea that the contexts are different.


RE: Grafana/Influxdb - different context - Techstyle - 2024-02-25

(2024-02-15, 08:37 PM)Ryban Wrote: I don't have a solution, but just wanted to tag on that I have the same issue I was hoping to resolve.

It's especially annoying when you have a gauge-type visualization, because you'll get a separate gauge displayed for each separate context.

My suspicion is there's a way to write a Flux query such that the context data isn't provided to Grafana, and only the value is instead. That way, Grafana would have no idea that the contexts are different.

I think I worked it out.  If you add a MMSI to settings under server in SignalK, from then on the context will be fixed to your MMSI number