Class: Datadog::Tracing::Transport::IO::Traces::Parcel
- Inherits:
-
Object
- Object
- Datadog::Tracing::Transport::IO::Traces::Parcel
- Includes:
- Core::Transport::Parcel, Encoder
- Defined in:
- lib/datadog/tracing/transport/io/traces.rb
Overview
Transfer object for list of traces
Constant Summary
Constants included from Encoder
Instance Attribute Summary
Attributes included from Core::Transport::Parcel
Instance Method Summary collapse
Methods included from Encoder
Methods included from Core::Transport::Parcel
Instance Method Details
#count ⇒ Object
86 87 88 |
# File 'lib/datadog/tracing/transport/io/traces.rb', line 86 def count data.length end |
#encode_with(encoder) ⇒ Object
90 91 92 |
# File 'lib/datadog/tracing/transport/io/traces.rb', line 90 def encode_with(encoder) encode_traces(encoder, data) end |