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/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.
v2.2.0
Added
- The
Spandex.Tracestruct now includespriorityandbaggagefields, 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.AdapterandSenderAPIs.
Changed
- It is no longer required that you specify the
envoption. 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/2callback now expects a
SpanContextstruct to be returned, rather than aMap. - Similarly, the
Spandex.continue_tracefunction now expects aSpanContext
struct rather than a separatetrace_idandspan_id. - The sender API now calls the
send_tracefunction, passing in a
Spandex.Tracestruct, rather than passing a list ofSpandex.Spanstructs.
This means that you need to update thespandex_datadogto a compatible
version.
Deprecated
Spandex.continue_trace/4is deprecated in favor of
Spandex.continue_trace/3- Similarly,
Tracer.continue_trace/4is 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