spandex_datadog v0.1.0 SpandexDatadog.Adapter

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)
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.