Skip to main content

resource_names

Function resource_names 

Source
fn resource_names(
    bref: &Src<'_>,
    keys: &[u64],
    out: &mut HashMap<u64, String>,
) -> Result<()>
Expand description

service.name per entity key, accumulated across blocks.

Every OTel SDK sets service.name and section 7.2’s identity ladder is built on it, so a key almost always has one. or_insert and not insert: the first block wins, and callers walk newest first, so a renamed service shows the name it has now rather than the one it booted with.