Spandex v1.6.0 Spandex.Adapters.Datadog View Source

A datadog APM implementation for spandex.

Link to this section Summary

Functions

Fetches the datadog trace & parent IDs from the conn request headers if they are present

Link to this section Functions

Link to this function distributed_context(conn, opts) View Source
distributed_context(conn :: Plug.Conn.t, Keyword.t) ::
  {:ok, %{trace_id: binary, parent_id: binary}} |
  {:error, :no_trace_context}

Fetches the datadog trace & parent IDs from the conn request headers if they are present.