mirror of
https://github.com/tcivie/meshtastic-metrics-exporter.git
synced 2025-01-12 06:17:33 -08:00
Fixed port on master to be the default for prometheus (9464)
This commit is contained in:
parent
025259f279
commit
c187380bf2
2
main.py
2
main.py
|
@ -104,7 +104,7 @@ if __name__ == "__main__":
|
|||
|
||||
# Configure Prometheus exporter
|
||||
registry = CollectorRegistry()
|
||||
start_http_server(int(os.getenv('PROMETHEUS_COLLECTOR_PORT', 8000)), registry=registry)
|
||||
start_http_server(int(os.getenv('PROMETHEUS_COLLECTOR_PORT', 9464)), registry=registry)
|
||||
|
||||
# Create an MQTT client
|
||||
mqtt_protocol = os.getenv('MQTT_PROTOCOL', 'MQTTv5')
|
||||
|
|
Loading…
Reference in a new issue