Class: Bitfab::Otel::EncodedSpan
- Inherits:
-
Struct
- Object
- Struct
- Bitfab::Otel::EncodedSpan
- Defined in:
- lib/bitfab/otel.rb
Overview
A span encoded exactly as it goes on the wire, carrying its byte count. Encoding once and remembering the size is what keeps request packing linear: sizing a candidate batch by re-encoding the whole request re-escapes every carrier's bitfab.payload string on every span considered.
Instance Attribute Summary collapse
-
#encoded ⇒ Object
Returns the value of attribute encoded.
-
#size ⇒ Object
Returns the value of attribute size.
Instance Attribute Details
#encoded ⇒ Object
Returns the value of attribute encoded
45 46 47 |
# File 'lib/bitfab/otel.rb', line 45 def encoded @encoded end |
#size ⇒ Object
Returns the value of attribute size
45 46 47 |
# File 'lib/bitfab/otel.rb', line 45 def size @size end |