-
Notifications
You must be signed in to change notification settings - Fork 22
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
Feature: add prometheus metrics #205
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A cool feature. 🙌
DAPP developer and node maintainer would found it very useful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
Codecov Report
@@ Coverage Diff @@
## dev #205 +/- ##
==========================================
- Coverage 51.31% 51.10% -0.22%
==========================================
Files 115 117 +2
Lines 17345 17475 +130
==========================================
+ Hits 8901 8931 +30
- Misses 7685 7784 +99
- Partials 759 760 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job.
Thank you for your important contribution to this. 🙏
edcaf2e
to
913bf51
Compare
913bf51
to
3e791eb
Compare
Description
Add metrics
blockchain:
dogechain_blockchain_gas_avg_price
Gas price average (Histogram type)dogechain_blockchain_gas_avg_count
Gas count average (Histogram type)dogechain_blockchain_gas_used
Gas used number (Histogram type)dogechain_blockchain_block_height
block height (Gauge type)dogechain_blockchain_block_write_seconds
block write to db time (Histogram type)JSON-RPC:
dogechain_jsonrpc_requests
requests number (Counter type)dogechain_jsonrpc_request_errors
error request number (Counter type)dogechain_jsonrpc_response_seconds
request handle time (Histogram type)Changes include
Checklist
Testing