module Datadog::Encoding::Encoder

Encoder interface that provides the logic to encode traces and service

Public Instance Methods

content_type() click to toggle source
# File lib/ddtrace/encoding.rb, line 9
def content_type
  raise NotImplementedError
end
encode(_) click to toggle source

Serializes a single trace into a String suitable for network transmission.

# File lib/ddtrace/encoding.rb, line 19
def encode(_)
  raise NotImplementedError
end
join(encoded_elements) click to toggle source

Concatenates a list of elements previously encoded by #encode.

# File lib/ddtrace/encoding.rb, line 14
def join(encoded_elements)
  raise NotImplementedError
end