Module status

Source
Expand description

Queries for node-specific state and uncommitted data.

Unlike the availability and node APIs, which deal only with committed data (albeit with different consistency properties), the status API offers a glimpse into internal consensus state and uncommitted data. Here you can find low-level information about a particular node, such as consensus and networking metrics.

The status API is intended to be a lightweight way to inspect the activities and health of a consensus node. It is the only API that can be run without any persistent storage, and its memory overhead is also very low. As a consequence, it only serves two types of data:

  • snapshots of the state right now, with no way to query historical snapshots
  • summary statistics

Modulesยง

data_source ๐Ÿ”’

Structsยง

InternalSnafu ๐Ÿ”’
SNAFU context selector for the Error::Internal variant
Options
RequestSnafu ๐Ÿ”’
SNAFU context selector for the Error::Request variant

Enumsยง

Error

Traitsยง

HasMetrics
StatusDataSource
UpdateStatusData

Functionsยง

define_api
internal ๐Ÿ”’