Releases: open-telemetry/opentelemetry-rust
Releases · open-telemetry/opentelemetry-rust
v0.20.0
v0.19.0
v0.18.0
Added
- Pull sampling probability from
OTEL_TRACES_SAMPLER_ARG
in default sdk config #737 - Add
schema_url
toTracer
#743 - Add
schema_url
toResource
#775 - Add
Span::set_attributes
#638 - Support concurrent exports #781
- Add jaeger remote sampler #797
- Allow Custom Samplers #833
- Add
SpanExporter::force_flush
and default implementation #845
Changed
- Deprecate metrics
ValueRecorder
in favor ofHistogram
#728 - Move
IdGenerator
to SDK, rename toRandomIdGenerator
#742 meter_with_version
accepts optional parameter forversion
andschema_url
#752- Unify
Event
andLink
access patterns #757 - move
SpanKind
display format impl to jaeger crate #758 - make
TraceStateError
private #755 - rename
Span::record_exception
toSpan::record_error
#756 - Replace
StatusCode
andmessage
withStatus
#760 - Move
TracerProvider::force_flush
to SDK #658 - Switch to static resource references #790
- Allow O(1) get operations for
SpanBuilder::attributes
[breaking] #799 - Allow ref counted keys and values #821
- Bump MSRV from 1.49 to 1.55 #811
- bump MSRV to 1.56 #866
- Update metrics API and SDK for latest spec #819
- Switch to
pin-project-lite
#830
Fixed
- Update dashmap to avoid soundness hole #818
- Perform sampling as explained in the specification #839
- Remove internal message queue between exporter and exporting tasks #848
- Fix span processor exporting unsampled spans #871
Removed
v0.17.0
Changed
- Implement
Serialize
&Deserialize
forSampler
,SpanLimits
#622, #626 - Allow
&'static str
andstring
in span methods #654 - Allow
String
data in instrumentation library. #670 - Remove
std::fmt::Debug
and'static
requirements fromTracerProvider
,
Tracer
, andSpan
#664 - Remove unused
Tracer::invalid
method #683 - Split
TracerProvider::tracer
andTracerProvider::versioned_tracer
methods #682 - Reduce dependency on
futures
crate #684 - Switch to parent context references #687
- Spec-compliant trace and span ids #689
- Optimize span creation internals #693
- Add instrumentation library to
ShouldSample
parameters #695
Fixed
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