5 #ifndef API_NODE_MONITORING
6 #define API_NODE_MONITORING "node_monitoring_api"
16 namespace blockchain_monitoring {
19 class node_monitoring_api_impl;
53 std::shared_ptr<detail::node_monitoring_api_impl> _my;
59 (get_last_block_duration_microseconds)(get_free_shared_memory_mb)(get_total_shared_memory_mb))
node_monitoring_api(const scorum::app::api_context &ctx)
uint32_t get_total_shared_memory_mb() const
uint32_t get_last_block_duration_microseconds() const
Returns last block processing duration in microseconds.
uint32_t get_free_shared_memory_mb() const