Skip to content

v0.2.0

Compare
Choose a tag to compare
@GregMefford GregMefford released this 15 Sep 17:02
· 63 commits to master since this release

Added

  • Priority sampling of distributed traces is now supported by sending the
    priorty field from the Trace along with each Span sent to Datadog,
    using the appropriate _sampling_priority_v1 field under the metrics
    field.

Changed

  • If the env option is not specified for a trace, it will no longer be sent
    to Datadog, This allows the Datadog trace collector configured default to be
    used, if desired.
  • SpandexDatadog.Adapter.distributed_context/2 now returns a Spandex.Trace
    struct, including a priority based on the x-datadog-sampling-priority
    HTTP header.
  • SpandexDatadog.ApiServer now supports the send_trace function, taking a
    Spandex.Trace struct.

Deprecated

  • SpandexDatadog.ApiServer.send_spans/2 is deprecated in favor of
    SpandexDatadog.ApiServer.send_trace/2.