You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Description
Closes#1829
This PR introduces new metrics for different TM2 modules, as outlined in
#1829.
Thank you @gfanton and @ajnavarro for helping out with the Docker issues
🙏
## How do I test this out?
Head over to `misc/telemetry` and follow the README -- you can run
everything locally in Docker 😎
![grafana-2](https://github.com/gnolang/gno/assets/16712663/8177d338-6743-480d-b4b3-b447243043d9)
cc @mazzy89
## Metrics added
### Consensus
- [x] block interval (time between current and prev block in seconds)
- [x] number of transactions in the latest block
- [x] block size (in bytes)
- [x] number of validators
- [x] total voting power of the validator set
### Networking
- [x] number of inbound peers
- [x] number of outbound peers
- [x] number of pending peers (dialing)
### JSON-RPC
- [x] response time for requests (http / ws)
### Mempool
- [x] number of valid txs in the mempool
- [x] number of txs in the mempool cache
### VM
- [x] gas used per execution
- [x] CPU cycles
- [x] different VM query message call frequency
- [x] different VM execution frequency (run, call, addpkg)
- [x] VM query error frequency
<details><summary>Contributors' checklist...</summary>
- [x] Added new tests, or not needed, or not feasible
- [x] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [x] Updated the official documentation or not needed
- [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [x] Added references to related issues and PRs
- [ ] Provided any useful hints for running manual tests
- [ ] Added new benchmarks to [generated
graphs](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
</details>
---------
Signed-off-by: gfanton <[email protected]>
Co-authored-by: gfanton <[email protected]>
Description
This effort covers the need to introduce extensive metrics tracking capabilities for critical modules in Tendermint2 / Gno as a whole.
Currently, there is no metrics support in the form of Prometheus or other standards which can be used to continuously monitor active Gno nodes.
A good foundation has been set already with #1762
Suggestions for possible metrics collection areas:
Consensus
Networking
Syncer
JSON-RPC
Mempool
VM
Successful outcomes of this effort:
The text was updated successfully, but these errors were encountered: