View Source Datadog.DataStreams.Transport (Data Streams Ex v1.1.0)

An HTTP client for Datadog data streams reporting. It uses the Finch library for requests.

Link to this section Summary

Functions

Sends a MessagePack-ed binary to the Datadog agent. Ensuring it is acknowledged by response before returning :ok.

Link to this section Types

@type response() ::
  Finch.Response.t()
  | %{body: map(), headers: Mint.Types.headers(), status: non_neg_integer()}

Link to this section Functions

Link to this function

send_pipeline_stats(stats)

View Source
@spec send_pipeline_stats(binary()) :: :ok | {:error, any()}

Sends a MessagePack-ed binary to the Datadog agent. Ensuring it is acknowledged by response before returning :ok.