Expand description
this library is used to collect metrics from the node and expose them to the prometheus server
the metrics are collected from the node and from the survey the survey is a separate thread that is used to collect metrics from the network (active connections)
Modulesยง
- server ๐
Structsยง
- BLOCKS_
COUNTER ๐ - DEFERRED_
CALLS_ ๐TOTAL_ GAS - DEFERRED_
CALL_ ๐CANCELLED - DEFERRED_
CALL_ ๐EXECUTED - DEFERRED_
CALL_ ๐FAILED - DEFERRED_
CALL_ ๐REGISTERED - ENDORSEMENTS_
COUNTER ๐ - EVENT_
CACHE_ ๐VEC - FACTORY_
BLOCKS_ ๐PRODUCED - FACTORY_
BLOCKS_ ๐PRODUCED_ WITH_ POOL_ TIMEOUT - FACTORY_
POOL_ ๐TIMEOUT_ DENUNCIATIONS - FACTORY_
POOL_ ๐TIMEOUT_ ENDORSEMENTS - FACTORY_
POOL_ ๐TIMEOUT_ OPERATIONS - Massa
Metrics - Metrics
Stopper - OPERATIONS_
COUNTER ๐
Functionsยง
- dec_
deferred_ calls_ cancelled_ by - dec_
deferred_ calls_ registered_ by - inc_
deferred_ calls_ cancelled - inc_
deferred_ calls_ executed_ by - inc_
deferred_ calls_ failed_ by - inc_
deferred_ calls_ registered - inc_
factory_ blocks_ produced - inc_
factory_ pool_ timeout_ denunciations - inc_
factory_ pool_ timeout_ endorsements - inc_
factory_ pool_ timeout_ operations - register_
lazy_ ๐static_ metrics - Eagerly register lazy_static metrics so they appear on
/metricseven before the first increment (e.g. factory pool timeouts that have not occurred yet). - set_
blocks_ counter - set_
deferred_ calls_ total_ gas - set_
endorsements_ counter - set_
event_ cache_ vec_ len - set_
operations_ counter