Skip to main content

Module queries

Module queries 

Source
Expand description

Control query implementations.

Each function takes &Node and returns a serde_json::Value. Query logic is kept separate from socket handling.

Functions§

dispatch
Dispatch a command string to the appropriate query function.
show_acl
show_acl — Loaded peer ACL state.
show_bloom
show_bloom — Bloom filter state.
show_cache
show_cache — Coordinate cache stats and entries.
show_connections
show_connections — Pending handshakes.
show_identity_cache
show_identity_cache — Known node identities.
show_links
show_links — Active links.
show_listening_sockets
show_listening_sockets - IPv6 listeners reachable from fips0, annotated with the current inet fips filter classification.
show_mmp
show_mmp — MMP metrics summary.
show_peers
show_peers — Authenticated peers.
show_routing
show_routing — Routing table summary and node statistics.
show_sessions
show_sessions — End-to-end sessions.
show_stats_all_history
show_stats_all_history — Return a series for every tracked metric in one round trip. Intended for the fipstop Graphs tab.
show_stats_history
show_stats_history — Time-series samples for one metric.
show_stats_history_all_peers
show_stats_history_all_peers — One metric across every tracked peer in one round trip. Backs the fipstop MetricByPeer grid view.
show_stats_list
show_stats_list — Enumerate available history metrics and their units.
show_stats_peers
show_stats_peers — Enumerate peers tracked in the stats history with their lifecycle metadata. Used by operator tools to populate peer selectors and to confirm a peer is in the retention window.
show_status
show_status — Node overview.
show_transports
show_transports — Transport instances.
show_tree
show_tree — Spanning tree state.