v2.0.1 - Block production and more
Block production metrics
solana_exporter is now tracking the number of skipped and produced blocks via the solana_leader_slots_total
metric. This re-implements the solana block-production
CLI call, but per slot rather than windowed per epoch:
slots.go:116] confirmed slot 56689556 (offset 5300, +8), epoch 144 (from slot 56684256 to 57116256, 426700 remaining)
slots.go:133] confirmed blocks: 56689548 -> 56689555: [56689548 56689549 56689550 56689551]
slots.go:164] slot 56689548 (offset 5292) with leader 3rFxX6D68YhDpF7c6vDt2yhfp8CXXcjNNga43cCJ8Ww9 (valid)
slots.go:164] slot 56689549 (offset 5293) with leader 3rFxX6D68YhDpF7c6vDt2yhfp8CXXcjNNga43cCJ8Ww9 (valid)
slots.go:164] slot 56689550 (offset 5294) with leader 3rFxX6D68YhDpF7c6vDt2yhfp8CXXcjNNga43cCJ8Ww9 (valid)
slots.go:164] slot 56689551 (offset 5295) with leader 3rFxX6D68YhDpF7c6vDt2yhfp8CXXcjNNga43cCJ8Ww9 (valid)
slots.go:164] slot 56689552 (offset 5296) with leader Ft5fbkqNa76vnsjYNwjDZUXoTWpP7VYm3mtsaQckQADN (SKIPPED)
slots.go:164] slot 56689553 (offset 5297) with leader Ft5fbkqNa76vnsjYNwjDZUXoTWpP7VYm3mtsaQckQADN (SKIPPED)
slots.go:164] slot 56689554 (offset 5298) with leader Ft5fbkqNa76vnsjYNwjDZUXoTWpP7VYm3mtsaQckQADN (SKIPPED)
New chain state metrics
In addition to block production, the following metrics were added:
- solana_confirmed_epoch_first_slot - Current epoch's first slot.
- solana_confirmed_epoch_last_slot - Current epoch's last slot.
- solana_confirmed_epoch_number - Current epoch.
- solana_confirmed_slot_height - Last confirmed slot height observed.
- solana_confirmed_transactions_total - Total number of transactions processed since genesis.
Node pubkey
In addition to the pubkey
field for the vote key, solana_validator_*
metrics now include a nodekey
label, which is the validator's identity pubkey. The pubkey
field is not renamed for backwards compatibility reasons.
Flags for configuration (BREAKING)
We're now using flags instead of environment variables (see README).