Skip to main content

Prometheus Integration

Overview

EOS supports the prometheus plugin which allows data tracing and collection by Prometheus (https://prometheus.io/) of various internal nodeos metrics.

Supported metrics are :

Metric TypeMetric Description
GaugeNumber of clients
GaugeNumber of peers
GaugeNumber of dropped blocks
GaugeUnapplied transaction queue sizes (number of transactions)
CounterBlacklisted transactions count (total)
CounterBlocks produced
CounterTransactions produced
GaugeLast irreversible
GaugeCurrent head block num
GaugeSubjective billing number of accounts
GaugeSubjective billing number of blocks
GaugeScheduled transactions
GaugeNumber of api calls per api endpoint

You can enable the plugin via: --plugin eosio::prometheus_plugin. When enabled the plugin adds http endpoint: /v1/prometheus/metrics which returns prometheus formatted text strings.