mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(prometheus): add localhost:9001 scrape target (#3606)
This commit is contained in:
@ -63,11 +63,11 @@ To run Reth with Docker, run:
|
|||||||
docker run \
|
docker run \
|
||||||
-v rethdata:/root/.local/share/reth/db \
|
-v rethdata:/root/.local/share/reth/db \
|
||||||
-d \
|
-d \
|
||||||
-p 9000:9000 \
|
-p 9001:9001 \
|
||||||
--name reth \
|
--name reth \
|
||||||
reth:local \
|
reth:local \
|
||||||
node \
|
node \
|
||||||
--metrics 0.0.0.0:9000
|
--metrics 0.0.0.0:9001
|
||||||
```
|
```
|
||||||
|
|
||||||
The above command will create a container named `reth` and a named volume called `rethdata` for data persistence.
|
The above command will create a container named `reth` and a named volume called `rethdata` for data persistence.
|
||||||
|
|||||||
@ -3,7 +3,7 @@ scrape_configs:
|
|||||||
metrics_path: "/"
|
metrics_path: "/"
|
||||||
scrape_interval: 5s
|
scrape_interval: 5s
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['reth:9001']
|
- targets: ['reth:9001', 'localhost:9001']
|
||||||
- job_name: ethereum-metrics-exporter
|
- job_name: ethereum-metrics-exporter
|
||||||
metrics_path: "/metrics"
|
metrics_path: "/metrics"
|
||||||
scrape_interval: 5s
|
scrape_interval: 5s
|
||||||
|
|||||||
Reference in New Issue
Block a user