ArduPilot / pymavlink

python MAVLink interface and utilities
Other
495 stars 594 forks source link

Utility to accept Mavlink messages and expose a Prometheus exporter interface #936

Open johann8384 opened 6 months ago

johann8384 commented 6 months ago

Would a prometheus exporter script using pymavlink be a welcome addition here?

I've developed one for our in-house development but I thought maybe I could add the exporter and Grafana dashboards here. The idea is that QGC or other tools are setup to forward Mavlink messages to the exporter process which receives them and creates things like gauges for "satelites visible" and counters for distance traveled.

It allows us to have realtime dashboards in Grafana of our flights, to compare multiple aircraft or multiple flights of the same aircraft over top of one another.

The dashboard and telemetry system is always running (Victoria Metrics + Grafana) so any time someone spins up an aircraft, SITL, bench flight controller, etc. they just automatically start logging metrics to the dashboards.

brunoolivieri commented 6 months ago

I am not sure if I will use soon, but seems very cool and useful!

Surveillance/Tethering guys might love it.