Skip to main content

resource_service_name

Function resource_service_name 

Source
pub(crate) fn resource_service_name(
    resource_attrs: &[KeyValue],
) -> Option<String>
Expand description

Reads the resource service.name. It is required by the semantic conventions, but senders may omit it; unrelated attributes are never used as a fallback. https://opentelemetry.io/docs/specs/semconv/resource/service/