Searched refs:OtelData (Results 1 – 3 of 3) sorted by relevance
/third_party/rust/crates/tracing/tracing-opentelemetry/src/ |
D | layer.rs | 1 use crate::{OtelData, PreSampledTracer}; 80 fn(&tracing::Dispatch, &span::Id, f: &mut dyn FnMut(&mut OtelData, &dyn PreSampledTracer)), 90 mut f: impl FnMut(&mut OtelData, &dyn PreSampledTracer), in with_context() argument 593 .get_mut::<OtelData>() in parent_context() 602 .get_mut::<OtelData>() in parent_context() 615 f: &mut dyn FnMut(&mut OtelData, &dyn PreSampledTracer), in get_context() argument 628 if let Some(builder) = extensions.get_mut::<OtelData>() { in get_context() 723 extensions.insert(OtelData { builder, parent_cx }); in on_new_span() 762 if let Some(data) = extensions.get_mut::<OtelData>() { in on_record() 774 .get_mut::<OtelData>() in on_follows_from() [all …]
|
D | tracer.rs | 44 fn sampled_context(&self, data: &mut crate::OtelData) -> OtelContext; in sampled_context() 54 fn sampled_context(&self, data: &mut crate::OtelData) -> OtelContext { in sampled_context() 68 fn sampled_context(&self, data: &mut crate::OtelData) -> OtelContext { in sampled_context() 163 use crate::OtelData; 175 let cx = tracer.sampled_context(&mut OtelData { builder, parent_cx }); in assigns_default_trace_id_if_missing() 214 let sampled = tracer.sampled_context(&mut OtelData { builder, parent_cx }); in sampled_context()
|
D | lib.rs | 140 pub struct OtelData { struct
|