| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 2 | |
| 3 | package geth |
| 4 | |
| 5 | // summary |
| 6 | const ( |
| 7 | chainValidation = "chain_validation" |
| 8 | chainWrite = "chain_write" |
| 9 | chainHeadBlock = "chain_head_block" |
| 10 | chainHeadHeader = "chain_head_header" |
| 11 | chainHeadReceipt = "chain_head_receipt" |
| 12 | ) |
| 13 | |
| 14 | // + rate |
| 15 | const ( |
| 16 | ethDbChainDataAncientRead = "eth_db_chaindata_ancient_read" |
| 17 | ethDbChainDataAncientWrite = "eth_db_chaindata_ancient_write" |
| 18 | ethDbChaindataDiskRead = "eth_db_chaindata_disk_read" |
| 19 | ethDbChainDataDiskWrite = "eth_db_chaindata_disk_write" |
| 20 | ethDbChainDataDiskSize = "eth_db_chaindata_disk_size" |
| 21 | ethDbChainDataAncientSize = "eth_db_chaindata_ancient_size" |
| 22 | |
| 23 | txPoolInvalid = "txpool_invalid" |
| 24 | txPoolPending = "txpool_pending" |
| 25 | txPoolLocal = "txpool_local" |
| 26 | txPoolPendingDiscard = "txpool_pending_discard" |
| 27 | txPoolNofunds = "txpool_pending_nofunds" |
| 28 | txPoolPendingRatelimit = "txpool_pending_ratelimit" |
| 29 | txPoolPendingReplace = "txpool_pending_replace" |
| 30 | txPoolQueuedDiscard = "txpool_queued_discard" |
| 31 | txPoolQueuedEviction = "txpool_queued_eviction" |
| 32 | txPoolQueuedNofunds = "txpool_queued_nofunds" |
| 33 | txPoolQueuedRatelimit = "txpool_queued_ratelimit" |
| 34 | ) |
| 35 | |
| 36 | const ( |
| 37 | // gauge |
| 38 | p2pEgress = "p2p_egress" |
| 39 | p2pIngress = "p2p_ingress" |
| 40 | |
| 41 | p2pPeers = "p2p_peers" |
| 42 | p2pServes = "p2p_serves" |
| 43 | p2pDials = "p2p_dials" |
| 44 | |
| 45 | rpcRequests = "rpc_requests" |
| 46 | rpcSuccess = "rpc_success" |
| 47 | rpcFailure = "rpc_failure" |
| 48 | |
| 49 | reorgsAdd = "chain_reorg_add" |
| 50 | reorgsExecuted = "chain_reorg_executes" |
| 51 | reorgsDropped = "chain_reorg_drop" |
| 52 | |
| 53 | goRoutines = "system_cpu_goroutines" |
| 54 | ) |