opentelemetry_proto::transform::logs::tonic

Function group_logs_by_resource_and_scope

Source
pub fn group_logs_by_resource_and_scope(
    logs: LogBatch<'_>,
    resource: &ResourceAttributesWithSchema,
) -> Vec<ResourceLogs>
Available on crate features logs and gen-tonic-messages only.