New
v2.3.0
Added
Spandex.current_context/1andSpandex.Tracer.current_context/1functions, which get aSpandex.SpanContextstruct based on the current context.Spandex.inject_context/3andSpandex.Tracer.inject_context/2functions, which inject a distributed tracing context into a list of HTTP headers.
Changed
- The
Spandex.Adapterbehaviour now requires aninject_context/3callback, which encodes aSpandex.SpanContextas HTTP headers for distributed tracing.