This simple script pulls air quality data from PurpleAir, calculates AQI using python-aqi and exports it to Prometheus
You an import this example dashboard to grafana by copying in grafana-dashboard.json
I run this on my home kubernetes (k3s) cluster. You can see an example kubernetes deployment which integrates with prometheus-operator at example-kube.yaml