stacks-network / stacks-network/stacks-core
Block Fullness Prometheus Metrics for Miner
Open
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:
- L1 miners can monitor their mining performance
- L2 miners (who should also use prometheus/grafana) can monitor their mining performance
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.