- You need to expose metrics port for your Execution and Consensus clients; here is a table of clients and port mappings. Follow steps below to expose metrics port:
- Check your
COMPOSE_FILEto determine what ports to expose
- In the example above, the result is
nimbusandnethermind. I need to modify those two client configurations to expose my metrics port to Scale3 Grafana agent. - We need to add a line to expose the Nimbus metrics port
- Backup the nimbus config file before making any modifications
- Open the file using nano and navigate to the ports section
- Add a line for exposing 8008 as shown below. Be sure the indentation lines up with existing entries
- Save the file using Ctrl + S then Ctrl + X to exit
- Verify the changes have taken effect
- Repeat the same process for Nethermind or any client of choice. Pay attention to the metrics port and adjust accordingly
- Example below I will expose port
6060by adding“6060:6060”under the ports:
- Next run
ethd upto restart the containers and have the changes take effect - You can verify the posts are now exposed by running
Metrics Port for Supported ETH clients
If you have any specific questions or need further assistance, contact us using the chat icon in-platform or email support@scale3labs.com .