Releases: spandex-project/spandex
Releases · spandex-project/spandex
v3.2.0
What's Changed
- Fix interpolated string span and trace names by @gerbal in #136
- Add Service Version Support by @kamilkowalski in #122
- Prepare for 3.2.0 release by @GregMefford in #143
New Contributors
Full Changelog: 3.1.0...3.2.0
v3.1.0
What's Changed
- Encode logger metadata as string. by @aselder in #127
- Set up sponsorship links by @GregMefford in #132
- Guard clauses for trace and span macros by @GregMefford in #130
- Misc doc changes by @kianmeng in #128
New Contributors
Full Changelog: 3.0.3...3.1.0
3.0.3
What's Changed
- Replace System.stacktrace with STACKTRACE by @mbuhot in #119
- Fix compiler warnings by @GregMefford in #120
New Contributors
Full Changelog: 3.0.2...3.0.3
v2.4.0
Features:
- Add(bring back) span and trace decorators
v2.3.0
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.
v2.2.0
Added
- The
Spandex.Trace
struct now includespriority
andbaggage
fields, to
support priority sampling of distributed traces and trace-level baggage,
respectively. More details about these concepts can be found in the
OpenTracing documentation. An updated version of thespandex_datadog
library will enable support for this feature in terms of the
Spandex.Adapter
andSender
APIs.
Changed
- It is no longer required that you specify the
env
option. If not specified,
it will default tonil
. This is useful, for example, for allowing the
Datadog trace collector configured default to be used. - The
Spandex.Adapter.distributed_context/2
callback now expects a
SpanContext
struct to be returned, rather than aMap
. - Similarly, the
Spandex.continue_trace
function now expects aSpanContext
struct rather than a separatetrace_id
andspan_id
. - The sender API now calls the
send_trace
function, passing in a
Spandex.Trace
struct, rather than passing a list ofSpandex.Span
structs.
This means that you need to update thespandex_datadog
to a compatible
version.
Deprecated
Spandex.continue_trace/4
is deprecated in favor of
Spandex.continue_trace/3
- Similarly,
Tracer.continue_trace/4
is deprecated in favor of
Tracer.continue_trace/3
v2.1.0
Added
- Massive changes, including separating adapters into their own repositories
Changed
- Many interface changes, specifically around return values
Removed
- Adapters now exist in their own repositories
v2.0.0
Added
- Massive changes, including separating adapters into their own repositories
Changed
- Many interface changes, specifically around return values
Removed
- Adapters now exist in their own repositories
Add `private` span meta
v1.6.1 bump version
Storage Strategies
View the changelog for more information