Skip to main content

is_projected_attr

Function is_projected_attr 

Source
fn is_projected_attr(key: &str) -> bool
Expand description

Attributes projected under their raw OTel keys. service.instance.id is absent on purpose: it lands in instance.

Matched instead of scanned: this runs for every attribute of every resource, and the compiler turns it into a length-and-prefix dispatch.