Skip to main content

ADOPTION_STAT_KEY

Constant ADOPTION_STAT_KEY 

Source
pub const ADOPTION_STAT_KEY: &str = "adoption.subscription";
Expand description

The network_stat key the relay adoption probe writes under.

Lives here, beside NetworkStat, because both the writer (the scheduler’s probe, compiled into the binary) and the reader (web::about, compiled into the library) name it — a literal in either place would be two strings free to drift apart.