EigenDA Metrics and Monitoring
These instructions provide a quickstart guide to run the Prometheus, Grafana, and Node exporter stack.
Step 1: Move your current working directory to the monitoring folder:
cp .env.example .env
- Open the
.envfile, ensure the location of
prometheus.ymlis correct for your environment.
- In the
- Update prometheus config file
is updated with the metrics port (
NODE_METRICS_PORT) of the eigenda node in parent folder
- Ensure the eigenda container name for
scrape_configs.targetsmatches the value of the parent folder
- Make sure the location of prometheus file is correct in .env file
- Update prometheus config file is updated with the metrics port (
Step 2: Run the following command to start the monitoring stack
docker compose up -d
Step 3: Since eigenda is running in a different docker network we will need to have prometheus in the same network. To do that, run the following command
docker network connect eigenda-network prometheus
eigenda-network is the name of the network in which eigenda is running.
You can check the network name in eigenda
NETWORK_NAME). This will ensure Prometheus can scrape the metrics from
Useful Dashboards: EigenDA offers a set of Grafana dashboards that are automatically imported when initializing the monitoring stack.
If you prefer to set up the metrics and monitoring stack manually, follow the steps located here.