scope_extras

Function scope_extras 

Source
pub fn scope_extras(
    scope: Option<&InstrumentationScope>,
    schema_url: &str,
) -> Vec<(String, Value<'static>)>
Expand description

Builds the per-row otel.scope.* properties (name, version, attr.*, schema_url) that ride alongside row attributes in the JSONB properties column. Skips empty fields so absent scopes don’t pollute the output.