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