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

Update metrics package #247

Merged
merged 9 commits into from Mar 30, 2023
Merged

Update metrics package #247

merged 9 commits into from Mar 30, 2023

Conversation

trinhdn97
Copy link
Contributor

@trinhdn97 trinhdn97 commented Feb 24, 2023

  • Add --metrics and --metrics.expansive cmd flags to enable metrics recording right after node started
  • Export metrics via debug port declared in node config file
Debug: # Devnet config for debugging purposes 
  Port: ":6000"
# TYPE rpc_method_account_balance gauge
rpc_method_account_balance 4

# TYPE rpc_method_account_getCode gauge
rpc_method_account_getCode 3

# TYPE rpc_method_debug_traceTransaction gauge
rpc_method_debug_traceTransaction 58

# TYPE rpc_method_eth_blockNumber gauge
rpc_method_eth_blockNumber 25

# TYPE rpc_method_eth_call gauge
rpc_method_eth_call 4

# TYPE rpc_method_eth_chainId gauge
rpc_method_eth_chainId 50

# TYPE rpc_method_eth_gasPrice gauge
rpc_method_eth_gasPrice 1

# TYPE rpc_method_eth_getBalance gauge
rpc_method_eth_getBalance 540

# TYPE rpc_method_eth_getBlockByHash gauge
rpc_method_eth_getBlockByHash 121

# TYPE rpc_method_eth_getBlockByNumber gauge
rpc_method_eth_getBlockByNumber 1377

@trinhdn97 trinhdn97 marked this pull request as ready for review February 25, 2023 09:40
@trinhdn97 trinhdn97 merged commit 464ecf4 into master Mar 30, 2023
@rameight rameight deleted the update/metrics branch June 20, 2023 19:43
@rameight rameight linked an issue Jun 20, 2023 that may be closed by this pull request
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optimize & Improve Trie, Preparing for state trie pruner
2 participants