Releases: open-telemetry/opentelemetry-rust
Releases · open-telemetry/opentelemetry-rust
v0.16.0
Changed
- Add default resource in
TracerProvider
#571 - Rename
get_tracer
totracer
#586 - Extract
trace::noop
module and update docs #587 - Add
Hash
impl for span context and allow spans to clone and export current state #592 - Enforce span status code's order #593
- Make
SpanRef
public #600 - Make
SpanProcessor::on_start
take a mutable span #601 - Renamed
label
toattribute
to align with otel specification #609
Performance
- Small performance boost for
Resource::get
#579
v0.15.0
v0.14.0
Added
- Adding a dynamic dispatch to Aggregator Selector #497
- Add
global::force_flush_tracer_provider
#512 - Add config
max_attributes_per_event
andmax_attributes_per_link
#521 - Add dropped attribute counts to events and links #529
Changed
- Remove unnecessary clone in
Key
type #491 - Remove
#[must_use]
fromset_tracer_provider
#501 - Rename remaining usage of
default_sampler
tosampler
#509 - Use current span for SDK-less context propagation #510
- Always export span batch when limit reached #519
- Rename message events to events #530
- Update resource merge behaviour #537
- Ignore links with invalid context #538
Removed
Fixed
- Allow users to use custom export kind selector #526
Performance
v0.13.0
Upgrade note: exporter pipelines do not return an uninstall guard as of #444, use opentelemetry::global::shutdown_tracer_provider
explicitly instead.
Changed
- Pull configrations from environment variables by default when creating BatchSpanProcessor #445
- Convert doc links to intra-doc #466
- Switch to Cow for event names #471
- Use API to configure async runtime instead of features #481
- Rename trace config with_default_sampler to with_sampler #482
Removed
v0.12.0
v0.11.2
v0.11.1
v0.11.0
Added
Changed
- Implement
Display
trait forKey
andValue
types #353 - Remove
Option
from Array values #359 - Update
ShouldSample
's parent parameter to beContext
#368 - Consolidate error types in
trace
module intoTraceError
#371 - Add
#[must_use]
to uninstall structs #372 - Move 3rd party propagators and merge exporter into
sdk::export
#375 - Add instrumentation version to instrument config #392
- Use instrumentation library in metrics #393
start_from_context
renamed tostart_with_context
#399- Removed
build_with_context
as full context is now stored in builder #399 - SpanBuilder's
with_parent
renamed towith_parent_context
#399
Fixed
v0.10.0
Added
- Add support for baggage metadata #287
Changed
- Remove
api
prefix from modules #305 - Move
mark_as_active_span
andget_active_span
functions into trace module #310 - Revert renaming of
SpanContext
toSpanReference
#299 - Default trace propagator is now a no-op #329
- Return references to span contexts instead of clones #325
- Update exporter errors to be
Box<dyn Error + Send + Sync + 'static>
#284 - Rename
GenericProvider
toGenericTracerProvider
#313 - Reduce
SpanStatus
enum toOk
,Error
, andUnset
variants #315 - update B3 propagator to more closely match spec #319
- Export missing pub global trace types #313
- Ensure kv array values are homogeneous #333
- Implement
Display
trait forKey
andValue
types #353 - Move
SpanProcessor
trait intosdk
module #334 - Ensure
is_recording
isfalse
and span is no-op afterend
#341 - Move binary propagator and base64 format to contrib #343
- Ensure metrics noop types go through constructors #345
- Change
ExportResult
to usestd::result::Result
#347 - Change
SpanExporter::export
to take&mut self
instead of&self
#350 - Add MSRV 1.42.0 #296
Fixed
- Fix parent based sampling #354