>>> Join Us in the Fight Against Air Pollution

AirGradient Forum

Metrics Collector/ Prometheus Exporter

For the last while I’ve upgraded the firmware to export metrics to my own influx DB.

I’ve always found this process annoying and makes it difficult to keep up to date with any changes to the officially available software.

I started thinking about it and instead thought if I could just update the APIROOT to send requests to my own system, it’d be easier to manage.

I’ve put together a docker container which consists of a really basic python flask app, which till take the posted data and expose that in a format prometheus will be able to read.

If you’re interested the image is available at Docker