From a8e0d576d39fe59f43f43b8380e3e8c7aa9f3591 Mon Sep 17 00:00:00 2001 From: Amp Date: Fri, 20 Nov 2026 04:12:09 +0000 Subject: [PATCH] devnet-2: node_exporter on teku-erigon-1 listens on the docker bridge only It listened on every interface, so its metrics were public on the host's IP. The host's Prometheus scrapes 172.17.0.1:9100, which keeps working. Co-authored-by: Sam Calder-Mason Amp-Thread-ID: https://ampcode.com/threads/T-01a1f1f6-78d8-7130-8263-7c1043865e81 --- ansible/inventories/devnet-2/host_vars/teku-erigon-1.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 ansible/inventories/devnet-2/host_vars/teku-erigon-1.yaml diff --git a/ansible/inventories/devnet-2/host_vars/teku-erigon-1.yaml b/ansible/inventories/devnet-2/host_vars/teku-erigon-1.yaml new file mode 100644 index 0000000..f05085f --- /dev/null +++ b/ansible/inventories/devnet-2/host_vars/teku-erigon-1.yaml @@ -0,0 +1,5 @@ +# node_exporter runs on the host network. Listen only on the docker bridge +# gateway, where this host's Prometheus scrapes it (172.17.0.1:9100), instead +# of every interface including the public one. +node_exporter_container_command_extra_args: + - --web.listen-address=172.17.0.1:9100