Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prometheus Exporter Plugin #114

Closed
1 of 2 tasks
stephenpdeos opened this issue Nov 3, 2022 · 5 comments
Closed
1 of 2 tasks

Prometheus Exporter Plugin #114

stephenpdeos opened this issue Nov 3, 2022 · 5 comments

Comments

@stephenpdeos
Copy link
Member

stephenpdeos commented Nov 3, 2022

@stephenpdeos stephenpdeos added this to the 4.0 milestone Nov 4, 2022
@bhazzard
Copy link
Collaborator

Items to include:

Node Configs

  • Stuff from get_info

Node Status

  • Unapplied transaction queue (Gauge)
    • number of transactions
    • byte size
    • speculative CPU time
  • Blacklisted transactions (Counter)
    • by account
    • by key count
    • by contract count
  • Subjective billing (Counter)
    • Number of accounts with subjective billing applied to them
  • Scheduled transaction size (Gauge)
    • number of transactions
    • NOTE:
      • these are billed in RAM
      • relates to deferred transactions, which are deprecated
  • Number of forks (Counter)
  • Number of unapplied blocks (Counter)
  • Number of dropped blocks (Counter)
  • Number of transactions received by Peer (Counter)
    • Would include duplicates
    • Two parts: Peer could be P2P or an API
  • Number of unique transactions received (Counter)
  • Number of new connections (Gauge)
  • Number of connections on wrong chain (Gauge)
  • Uptime (Counter)
  • CPU Usage by thread (Gauge)
  • Disk space used by volume (blocks, ship, state, trace) (Gauge)
  • Disk space available (Gauge)
  • Current Block Number (Counter)

Other Prometheus Exporter Requirements

  • Ability to expire metrics - clear on connection close

@matthewdarwin
Copy link

matthewdarwin commented Dec 20, 2022

Can we please also add

  • head_block_drift (gauge) current time - block time
  • lib_block_drift (gauge) current time - lib time

@matthewdarwin
Copy link

Note "Disk space available" is also by volume.

@matthewdarwin
Copy link

matthewdarwin commented Dec 20, 2022

For number of connections, consider inbound connections vs outbound connections.

  • Total number of inbound connections.
  • Total number of successful outbound connections.
  • Total number of failed outbound connections (failure due to duplicate should be ignored... eg when outbound connection and inbound connection match each other). Failure could be to DNS failure, Wrong Chain, etc...

@stephenpdeos stephenpdeos removed the status in Product Backlog Jan 26, 2023
@stephenpdeos stephenpdeos moved this to Project Development 🏗 in Product Backlog Jan 26, 2023
@bhazzard
Copy link
Collaborator

bhazzard commented Feb 2, 2023

Add # of http transactions in progress

@stephenpdeos stephenpdeos changed the title Prometheus Monitoring for nodeos logs Prometheus Exporter Plugin Feb 5, 2023
@stephenpdeos stephenpdeos moved this from Project Development 🏗 to User Acceptance in Product Backlog Mar 16, 2023
@stephenpdeos stephenpdeos moved this from User Acceptance to Transition to Operations in Product Backlog Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Transition to Operations
Development

No branches or pull requests

3 participants