pub fn scope_kv(scope: Option<&InstrumentationScope>) -> usizeExpand description
Count the attributes a request will contribute, for a headroom check.
Scope contributes attributes.len() + 2 because otel.scope.name and
.version are synthesised into the attribute table.