Spandex v1.3.2 Spandex.Datadog.Api View Source

Provides functions for communicating with a datadog service using the apm api.

This adapter uses msgpack of json for performance reasons, which is the preference of the datadog APM api as well. See the api documentation for more information: https://docs.datadoghq.com/tracing-api/

Link to this section Summary

Functions

Creates a trace in datadog API, which in reality is just a list of spans

Link to this section Functions

Link to this function create_trace(spans) View Source
create_trace([map]) ::
  {:ok, HTTPoison.Response.t | HTTPoison.AsyncResponse.t} |
  {:error, HTTPoison.Error.t} |
  :disabled

Creates a trace in datadog API, which in reality is just a list of spans