thepalbi / ethereum-prometheus-exporter

Prometheus exporter for Ethereum client metrics
MIT License
1 stars 0 forks source link

Fix sample exporter config server_url #18

Closed thepalbi closed 2 years ago

thepalbi commented 2 years ago

Our local setup exposes each container in a local docker-compose network. Grafana agent is agent, and the exporter is exporter. That said, if we have a server_url values localhost:<some_port>, the exporter will just expose the /metrics endpoint in the local network.

By using just :<some_port> the exporter uses the 0.0.0.0 interface, which catches all network traffic, including the agent.