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
77 78 79 |
# File 'lib/ddtrace/transport/io/traces.rb', line 77 def count data.length end |
#encode_with(encoder) ⇒ Object
81 82 83 |
# File 'lib/ddtrace/transport/io/traces.rb', line 81 def encode_with(encoder) encode_traces(encoder, data) end |