forked from airgradienthq/arduino
This commit adds a new feature to the One V9 (ONE_I-9PSL) firmware: support for exposing metrics to Prometheus (or any other ingestor compatible with the OpenMetrics format). With this change, the AirGradient device will make metrics available on the standard HTTP /metrics endpoint, out-of-the-box, with no need to do anything else. All the user has to do is add their device address as a target to their scrape config on their Prometheus server. For more information on Prometheus and OpenMetrics, see: - https://prometheus.io/docs/instrumenting/exposition_formats/ - https://openmetrics.io/ - https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md This obsoletes projects such as: - https://github.com/geerlingguy/airgradient-prometheus/tree/ebfa8d0ac6d8c47649e4642b27e90b98557fb8f7/AirGradient-DIY - https://forum.airgradient.com/t/prometheus-integration/1504