Skip to main content

parent_op_id

Function parent_op_id 

Source
pub fn parent_op_id<G: Fn(&str) -> Option<String>>(get: G) -> Option<String>
Expand description

Read the propagated parent operation id from an injected env-getter: the DIG_OP_ID value when present + non-blank, else None. Pure, so the pickup is testable without the process environment.