Method: Datadog::Core::Environment::AgentInfo#fetch
- Defined in:
- lib/datadog/core/environment/agent_info.rb
#fetch ⇒ Datadog::Core::Remote::Transport::HTTP::Negotiation::Response?
Fetches the information from the agent.
65 66 67 68 69 70 |
# File 'lib/datadog/core/environment/agent_info.rb', line 65 def fetch res = @client.send_info return unless res.ok? res end |