Skip to main content

LABELS

Constant LABELS 

Source
pub const LABELS: &[(&str, &[&str])];
Expand description

The label keys of each labelled metric this crate records.

  • method: a JSON-RPC method name the server registers, or unknown.
  • status: success or error.
  • error_code: the JSON-RPC error code, such as -8, or unknown.
  • outcome: a submitblock result, accepted, duplicate, duplicate-inconclusive, inconclusive, or rejected.