Fixed port on master to be the default for prometheus (9464)

This commit is contained in:
Gleb Tcivie 2024-10-22 21:32:01 +03:00
parent 025259f279
commit c187380bf2

View file

@ -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')