pub struct PayloadFields {
pub container_id: MetaString,
pub language_name: MetaString,
pub language_version: MetaString,
pub tracer_version: MetaString,
pub runtime_id: MetaString,
pub env: MetaString,
pub hostname: MetaString,
pub app_version: MetaString,
pub container_tags: Option<Arc<Vec<MetaString>>>,
pub client_dropped_p0s_weight: f64,
}Expand description
Payload-level metadata promoted from the tracer payload or OTLP resource.
These fields are common to all chunks within a single tracer payload and describe the tracer and its environment rather than any individual trace or span.
Fields§
§container_id: MetaStringContainer ID associated with the tracer.
language_name: MetaStringTracer language name (for example, "go", "python").
language_version: MetaStringTracer language runtime version.
tracer_version: MetaStringTracer library version.
runtime_id: MetaStringTracer runtime ID.
env: MetaStringDeployment environment (for example, "production", "staging").
hostname: MetaStringHostname of the tracer host.
app_version: MetaStringApplication version string.
Container tags resolved from the payload’s source, as key:value tags.
None when the source resolved none, in which case consumers derive them from Trace::attributes. A thin
pointer keeps this field to a single word, because Trace sizes every Event.
client_dropped_p0s_weight: f64Per-chunk weight from Datadog-Client-Dropped-P0-Traces header. Zero if absent.
Implementations§
Source§impl PayloadFields
impl PayloadFields
Returns the container tags the payload’s source resolved, as key:value tags.
Trait Implementations§
Source§impl Clone for PayloadFields
impl Clone for PayloadFields
Source§fn clone(&self) -> PayloadFields
fn clone(&self) -> PayloadFields
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PayloadFields
impl Debug for PayloadFields
Source§impl Default for PayloadFields
impl Default for PayloadFields
Source§fn default() -> PayloadFields
fn default() -> PayloadFields
Source§impl PartialEq for PayloadFields
impl PartialEq for PayloadFields
impl StructuralPartialEq for PayloadFields
Auto Trait Implementations§
impl Freeze for PayloadFields
impl RefUnwindSafe for PayloadFields
impl Send for PayloadFields
impl Sync for PayloadFields
impl Unpin for PayloadFields
impl UnsafeUnpin for PayloadFields
impl UnwindSafe for PayloadFields
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::RequestSource§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Track for T
impl<T> Track for T
§fn track_resources(self, token: ResourceGroupToken) -> Tracked<Self>
fn track_resources(self, token: ResourceGroupToken) -> Tracked<Self>
Tracked wrapper. Read more§fn in_current_resource_group(self) -> Tracked<Self>
fn in_current_resource_group(self) -> Tracked<Self>
Tracked wrapper. Read more