Module: Datadog::Core::Remote::Transport::Negotiation::Response

Included in:
HTTP::Negotiation::Response
Defined in:
lib/datadog/core/remote/transport/negotiation.rb

Overview

Negotiation response

Instance Attribute Summary collapse

Instance Attribute Details

#configHash (readonly)

The agent configuration. These are configured by the user when starting the agent, as well as any defaults.

Returns:

  • (Hash)

47
# File 'lib/datadog/core/remote/transport/negotiation.rb', line 47

attr_reader :version, :endpoints, :config, :span_events

#endpointsArray<String> (readonly)

The HTTP endpoints the agent supports.

Returns:

  • (Array<String>)

47
# File 'lib/datadog/core/remote/transport/negotiation.rb', line 47

attr_reader :version, :endpoints, :config, :span_events

#span_eventsObject (readonly)

Returns the value of attribute span_events.


47
# File 'lib/datadog/core/remote/transport/negotiation.rb', line 47

attr_reader :version, :endpoints, :config, :span_events

#versionString (readonly)

The version of the agent.

Returns:

  • (String)

47
48
49
# File 'lib/datadog/core/remote/transport/negotiation.rb', line 47

def version
  @version
end