Class: Datadog::Tracing::Transport::IO::Traces::Response

Inherits:
Response
  • Object
show all
Includes:
Traces::Response
Defined in:
lib/datadog/tracing/transport/io/traces.rb

Overview

Response from HTTP transport for traces

Instance Attribute Summary

Attributes included from Traces::Response

#service_rates, #trace_count

Attributes inherited from Response

#result

Instance Method Summary collapse

Methods inherited from Response

#ok?

Methods included from Core::Transport::Response

#client_error?, #inspect, #internal_error?, #not_found?, #ok?, #payload, #server_error?, #unsupported?

Constructor Details

#initialize(result, trace_count = 1) ⇒ Response

Returns a new instance of Response.



18
19
20
21
# File 'lib/datadog/tracing/transport/io/traces.rb', line 18

def initialize(result, trace_count = 1)
  super(result)
  @trace_count = trace_count
end