Skip to content

Gather block/transaction statistics and pipe them to InfluxDB for query and (optionally) graphing (via Grafana).

License

Notifications You must be signed in to change notification settings

Zoltu/ethereum-monitor

Repository files navigation

Gather block/transaction statistics and pipe them to InfluxDB for query and (optionally) graphing (via Grafana).

Run

docker-compose up

Fancy Grafana Charts

image

SELECT "gas_price_nanoeth" FROM "transaction" WHERE time >= now() - 15m

image

SELECT sum("gas_cost_total_eth") AS "total_fees_paid" FROM "transaction" WHERE time >= now() - 15m GROUP BY time(1s) fill(previous)

image

SELECT last("number") AS "number", last("since_previous_block_seconds") AS "time_since_last_block" FROM "block" WHERE time >= now() - 15m GROUP BY time(1s) fill(previous)

image

SELECT percentile("since_previous_block_seconds", 50) AS "50%", percentile("since_previous_block_seconds", 75) AS "75%", percentile("since_previous_block_seconds", 90) AS "90%", percentile("since_previous_block_seconds", 98) AS "98%", percentile("since_previous_block_seconds", 99) AS "99%", percentile("since_previous_block_seconds", 99.9) AS "99.9%" FROM "block" WHERE time >= now() - 24h

image

SELECT "since_previous_block_seconds" FROM "block" WHERE time >= now() - 24h

About

Gather block/transaction statistics and pipe them to InfluxDB for query and (optionally) graphing (via Grafana).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published