pub fn scope(id: &str) -> Option<MetricScope>Expand description
The MetricScope of metric id — the space kind its threshold
gates (issue #969). None for an id the catalog does not know; both
front-ends treat an unknown id as a usage error before reaching here,
so the None arm is only a defensive fallback.