pub trait OTelAttributeMapper: Send + Sync {
// Required method
fn map_attributes(
&self,
input: &HashMap<String, Value>,
) -> Vec<(String, String)>;
}Expand description
Trait for mapping domain-specific attributes to OpenTelemetry key-value pairs.