Skip to main content

Module metrics_scraper

Module metrics_scraper 

Source
Expand description

Prometheus metrics scraper for reth-bench.

Scrapes a node’s Prometheus metrics endpoint after each block to record execution and state root durations with block-level granularity.

StructsΒ§

MetricsRow πŸ”’
A single row of scraped prometheus metrics for one block.
MetricsScraper πŸ”’
Scrapes a Prometheus metrics endpoint after each block to collect execution and state root durations.

ConstantsΒ§

METRICS_OUTPUT_SUFFIX πŸ”’
Suffix for the metrics CSV output file.

FunctionsΒ§

parse_gauge πŸ”’
Parses a Prometheus gauge value from exposition-format text.