docker pull prom/pushgateway
docker run --restart=unless-stopped -d -p 9091:9091 prom/pushgateway
job_name: TempBatch
static_configs:
- targets: ["raspberrypi:9091"]
honor_labels: true
Script will make one mesure and call script that send data to prometheus push gateway
> python3 ./LYWSD03MMC.py --device XX:XX:XX:XX:XX:XX --round --debounce -call ./prometheus/promExporter.py -n living_room -c 1
- Use dashboard_id
12356
or read more how to import