class ElasticAPM::Transport::Connection

def append(str)

def append(str)
  bytes =
    if @config.http_compression
      @bytes_sent = @wr.tell
    else
      @bytes_sent += str.bytesize
    end
  debug 'Bytes sent during this request: %d', bytes
  @wr.puts(str)
end