Class: Datadog::DataStreams::Transport::HTTP::Client

Inherits:
Core::Transport::HTTP::Client show all
Defined in:
lib/datadog/data_streams/transport/http/client.rb

Overview

HTTP client for Data Streams Monitoring

Instance Attribute Summary

Attributes inherited from Core::Transport::HTTP::Client

#api, #logger

Instance Method Summary collapse

Methods inherited from Core::Transport::HTTP::Client

#initialize

Constructor Details

This class inherits a constructor from Datadog::Core::Transport::HTTP::Client

Instance Method Details

#send_stats_payload(request) ⇒ Object



11
12
13
14
15
16
# File 'lib/datadog/data_streams/transport/http/client.rb', line 11

def send_stats_payload(request)
  send_request(request) do |api, env|
    # TODO how to make api have the derived type for steep?
    api.send_stats(env) # steep:ignore
  end
end