stacks-network / stacks-network/stacks-core

Block Fullness Prometheus Metrics for Miner

Open
#3,263 1 comment 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
3.1k
Forks
762
Avg merge
4d 6h
Merged PRs (30d)
76

Description

Is your feature request related to a problem? Please describe.
Right now, we depict the block fullness of the last "accepted block" produced by the network.
https://github.com/stacks-network/stacks-blockchain/blob/08c163bab484954b3934515ee7bf60848f52ed4a/src/monitoring/prometheus.rs#L94

However, a miner does not have depicted their own mining block fullness.

We should also capture the block fullness of the miner. This way:

  1. L1 miners can monitor their mining performance
  2. L2 miners (who should also use prometheus/grafana) can monitor their mining performance
  3. people working on optimizing the miner can run experiments that compare their performance to the baseline of what the network did

Describe the solution you'd like
Add analogous prometheus endpoints that we have for append block for the miner as well.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.