From c187380bf2c0d5ccf4f27aa7d85a927e33644b9f Mon Sep 17 00:00:00 2001 From: Gleb Tcivie Date: Tue, 22 Oct 2024 21:32:01 +0300 Subject: [PATCH] Fixed port on master to be the default for prometheus (9464) --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index c44dffb..e2efd7b 100644 --- a/main.py +++ b/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')