AlveyChain Documents
  • Alveychain Docs
  • Get-Started
    • Alveychain
    • Installation
    • Local Setup
    • Cloud Setup
    • Full Node
    • CLI Commands
    • JSON RPC Commands
    • Performance Reports
  • Configuration
    • Manage private keys
    • Set up Hashicorp Vault
    • Enable Prometheus metrics
  • Working-With-Node
    • Query JSON RPC endpoints
    • Query operator information
    • Backup/restore node instance
  • Consensus
    • Proof of Authority (PoA)
    • Proof of Stake
    • Set up and use Proof of Stake (PoS)
    • Migration from PoA to PoS
  • Additional Features
    • Alveycoin bridge
    • Network stress testing
    • Blockscout
  • Architecture
    • Architecture Overview
    • modules
      • Blockchain
      • Consensus
      • JSON RPC
      • Minimal
      • Networking
      • Other modules
      • Protocol
      • Sealer
      • State
      • Storage
      • TxPool
      • Types
  • Concepts
    • State in Ethereum
  • Community
    • Propose a new feature
    • Report an issue
  • Docs
    • Server Config File
    • how-tos
      • How to set up and use Proof of Stake (PoS)
Powered by GitBook
On this page
  • Overview
  • Available metrics
  1. Configuration

Enable Prometheus metrics

Overview

Alveychain can report and serve the Prometheus metrics, which in their turn can be consumed using Prometheus collector(s).

Prometheus metrics are disabled by default. It can be enabled by specifying the listener address using --prometheus flag or Telemetry.prometheus field in the config file. Metrics will be served under /metrics on the specified address.

Available metrics

The following metrics are available:

Name

Type

Description

txpool_pending_transactions

Gauge

Number of pending transactions in TxPool

consensus_validators

Gauge

Number of Validators

consensus_rounds

Gauge

Number of Rounds

consensus_num_txs

Gauge

Number of Transactions in the latest block

consensus_block_interval

Gauge

Time between this and last block in seconds

network_peers

Gauge

Number of Connected peers

PreviousSet up Hashicorp VaultNextQuery JSON RPC endpoints

Last updated 2 years ago