Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion etc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ up to date.

The [`docker-compose.yml`](./docker-compose.yml) in this directory brings up a
local morph-reth node together with Prometheus and Grafana. The `morph-reth`
service runs with `--chain morph` and exposes metrics on port `9001`,
service runs against Morph mainnet with `--chain mainnet` and exposes metrics on port `9001`,
which Prometheus scrapes with the labels defined in
[`prometheus/prometheus.yml`](./prometheus/prometheus.yml).

To monitor Hoodi instead, change the service argument to `--chain hoodi` and
set the Prometheus `chain` label to `hoodi`.

```bash
./etc/generate-jwt.sh
docker compose -f etc/docker-compose.yml up -d
Expand All @@ -27,6 +30,11 @@ Grafana is available at <http://localhost:3000> (default admin/admin) and
will auto-provision the unified Morph dashboard from
[`grafana/dashboards/`](./grafana/dashboards/).

The dashboard's **Proof History** and **Execution Extension Runtime** rows
require the node to run with `--proofs-history`. The example Compose stack does
not enable proof history by default, so those panels are expected to be empty
unless the flag is added to the `morph-reth` service command.

### Grafana

#### Adding a new metric to Grafana
Expand Down
2 changes: 1 addition & 1 deletion etc/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
pid: host
command: >
node
--chain morph
--chain mainnet
--datadir /var/lib/morph-reth/data
--metrics 0.0.0.0:9001
--log.file.directory /var/lib/morph-reth/logs
Expand Down
Loading