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.

  • zebra.consensus.batch.duration_seconds:
    • verifier: ed25519, redjubjub, redpallas, halo2, or groth16_sapling.
    • result: success or failure.
  • zebra.consensus.cache.*:
    • verifier: halo2_pre_nu6_2, halo2_nu6_2, halo2_nu6_3_onward, or groth16_sapling.
  • zebra.consensus.block.phase.duration_seconds: phase, block_checks, transaction_verification, or state_commit.