spandex v2.3.0 Release Notes
Release Date: 2018-09-15 // over 5 years ago-
➕ Added
Spandex.current_context/1
andSpandex.Tracer.current_context/1
functions, which get aSpandex.SpanContext
struct based on the current context.Spandex.inject_context/3
andSpandex.Tracer.inject_context/2
functions, which inject a distributed tracing context into a list of HTTP headers.
🔄 Changed
- The
Spandex.Adapter
behaviour now requires aninject_context/3
callback, which encodes aSpandex.SpanContext
as HTTP headers for distributed tracing.