Skip to content

v2.3.0

Compare
Choose a tag to compare
@GregMefford GregMefford released this 15 Sep 16:43
· 58 commits to master since this release
970cc99

Added

  • Spandex.current_context/1 and Spandex.Tracer.current_context/1 functions,
    which get a Spandex.SpanContext struct based on the current context.
  • Spandex.inject_context/3 and Spandex.Tracer.inject_context/2 functions,
    which inject a distributed tracing context into a list of HTTP headers.

Changed

  • The Spandex.Adapter behaviour now requires an inject_context/3 callback,
    which encodes a Spandex.SpanContext as HTTP headers for distributed
    tracing.