From 8229fd2d01ae1d2451b4066310b544fdaf4dec90 Mon Sep 17 00:00:00 2001 From: Bernard Landon Date: Wed, 30 Oct 2024 13:47:18 +0100 Subject: [PATCH 1/2] Configure exporter to bind on both IPv4 and IPv6 --- radosgw_usage_exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radosgw_usage_exporter.py b/radosgw_usage_exporter.py index c39d4df..dd143bf 100644 --- a/radosgw_usage_exporter.py +++ b/radosgw_usage_exporter.py @@ -595,7 +595,7 @@ def main(): args.timeout, ) ) - start_http_server(args.port) + start_http_server(args.port, addr="::") logging.info(("Polling {0}. Serving at port: {1}".format(args.host, args.port))) while True: time.sleep(1) From 367e6f53f34fd1f34b94ff2f4235f3b84b9f649d Mon Sep 17 00:00:00 2001 From: Bernard Landon Date: Wed, 30 Oct 2024 16:05:48 +0100 Subject: [PATCH 2/2] Updated version of requirements --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 533aad6..36fcfea 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -prometheus-client==0.18.0 -requests>=2.26.0 +prometheus-client==0.21.0 +requests==2.32.3 boto==2.49.0 requests-aws==0.1.8