fix readme and health check

This commit is contained in:
Hendrik Schutter 2024-04-19 20:38:10 +02:00
parent 96fb5c0da4
commit b67a393614
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ Export metrics of a VEGAPULS Air connected via TTN as a prometheus service.
- `mkdir /opt/ttn-vegapulsair-exporter/`
- `cd /opt/ttn-vegapulsair-exporter/`
- import `tttn-vegapulsair-exporter.py` and `config.py`
- import `ttn-vegapulsair-exporter.py` and `config.py`
- Set the constants in `config.py`
- `chmod +x /opt/ttn-vegapulsair-exporter/ttn-vegapulsair-exporter.py`
- `chown -R prometheus /opt/ttn-vegapulsair-exporter/`

View File

@ -70,7 +70,7 @@ def update_metrics(payload, metadata):
global mutex
global scrape_healthy
mutex.acquire()
scrape_healthy = False
#scrape_healthy = False
node_metrics.clear()
if "Distance" in payload: