feat(cli): add --metrics param to reth prune (#21613)

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Dan Cline
2026-01-30 03:24:25 +00:00
committed by GitHub
parent 9de1f0905e
commit 0470c65e6c
5 changed files with 78 additions and 4 deletions

View File

@@ -181,6 +181,24 @@ RocksDB:
[default: false]
[possible values: true, false]
Metrics:
--metrics <PROMETHEUS>
Enable Prometheus metrics.
The metrics will be served at the given interface and port.
--metrics.prometheus.push.url <PUSH_GATEWAY_URL>
URL for pushing Prometheus metrics to a push gateway.
If set, the node will periodically push metrics to the specified push gateway URL.
--metrics.prometheus.push.interval <SECONDS>
Interval in seconds for pushing metrics to push gateway.
Default: 5 seconds
[default: 5]
Logging:
--log.stdout.format <FORMAT>
The format to use for logs written to stdout

View File

@@ -181,6 +181,24 @@ RocksDB:
[default: false]
[possible values: true, false]
Metrics:
--metrics <PROMETHEUS>
Enable Prometheus metrics.
The metrics will be served at the given interface and port.
--metrics.prometheus.push.url <PUSH_GATEWAY_URL>
URL for pushing Prometheus metrics to a push gateway.
If set, the node will periodically push metrics to the specified push gateway URL.
--metrics.prometheus.push.interval <SECONDS>
Interval in seconds for pushing metrics to push gateway.
Default: 5 seconds
[default: 5]
Logging:
--log.stdout.format <FORMAT>
The format to use for logs written to stdout