From 9f3ac44a77f1f1d75882044ad1130ff88ee77d63 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Fri, 28 Aug 2020 16:19:48 +0200 Subject: [PATCH] prometheus: Change default port to 9750 as per port-allocation We registered port 9750 the [port allocation] list for the prometheus project, so we should use that port :-) Suggested-by: Martin Milata <@mmilata> [port allocation]: https://github.com/prometheus/prometheus/wiki/Default-port-allocations --- prometheus/README.md | 2 +- prometheus/prometheus.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/prometheus/README.md b/prometheus/README.md index b05a7f2..f86a83c 100644 --- a/prometheus/README.md +++ b/prometheus/README.md @@ -5,7 +5,7 @@ so it can be scraped, plotted and alerts can be created on it. The plugin adds the following command line arguments: - `prometheus-listen`: the IP address and port to bind the HTTP server to - (default: `0.0.0.0:9900`) + (default: `0.0.0.0:9750`) Exposed variables include: diff --git a/prometheus/prometheus.py b/prometheus/prometheus.py index f7e5031..53c9094 100755 --- a/prometheus/prometheus.py +++ b/prometheus/prometheus.py @@ -213,7 +213,7 @@ def init(options, configuration, plugin): plugin.add_option( 'prometheus-listen', - '0.0.0.0:9900', + '0.0.0.0:9750', 'Address and port to bind to' )