fix readme and health check
This commit is contained in:
		| @ -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/` | ||||
|  | ||||
| @ -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: | ||||
|  | ||||
		Reference in New Issue
	
	Block a user