Repository navigation
devnet-2: node_exporter on teku-erigon-1 listens on the docker bridge only - #49
Merged
Merged
Conversation
… 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 <samcaldermason@gmail.com> Amp-Thread-ID: https://ampcode.com/threads/T-01a1f1f6-78d8-7130-8263-7c1043865e81
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
node_exporter runs with host networking and listened on every interface, so
157.180.14.228:9100/metricswas public. This host-only change makes it listen on172.17.0.1:9100, the address the host's own Prometheus scrapes (job: nodeingroup_vars/erigon.yaml). Onlyteku-erigon-1and only port 9100 change.Rolled out with
ansible-playbook -i inventories/devnet-2/inventory.ini playbook.yaml --limit teku-erigon-1 --tags node_exporter.