Releases: open-telemetry/opentelemetry-rust
Releases · open-telemetry/opentelemetry-rust
v0.18.0
Added
- Pull sampling probability from
OTEL_TRACES_SAMPLER_ARGin default sdk config #737 - Add
schema_urltoTracer#743 - Add
schema_urltoResource#775 - Add
Span::set_attributes#638 - Support concurrent exports #781
- Add jaeger remote sampler #797
- Allow Custom Samplers #833
- Add
SpanExporter::force_flushand default implementation #845
Changed
- Deprecate metrics
ValueRecorderin favor ofHistogram#728 - Move
IdGeneratorto SDK, rename toRandomIdGenerator#742 meter_with_versionaccepts optional parameter forversionandschema_url#752- Unify
EventandLinkaccess patterns #757 - move
SpanKinddisplay format impl to jaeger crate #758 - make
TraceStateErrorprivate #755 - rename
Span::record_exceptiontoSpan::record_error#756 - Replace
StatusCodeandmessagewithStatus#760 - Move
TracerProvider::force_flushto 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&DeserializeforSampler,SpanLimits#622, #626 - Allow
&'static strandstringin span methods #654 - Allow
Stringdata in instrumentation library. #670 - Remove
std::fmt::Debugand'staticrequirements fromTracerProvider,
Tracer, andSpan#664 - Remove unused
Tracer::invalidmethod #683 - Split
TracerProvider::tracerandTracerProvider::versioned_tracermethods #682 - Reduce dependency on
futurescrate #684 - Switch to parent context references #687
- Spec-compliant trace and span ids #689
- Optimize span creation internals #693
- Add instrumentation library to
ShouldSampleparameters #695
Fixed
v0.16.0
Changed
- Add default resource in
TracerProvider#571 - Rename
get_tracertotracer#586 - Extract
trace::noopmodule and update docs #587 - Add
Hashimpl for span context and allow spans to clone and export current state #592 - Enforce span status code's order #593
- Make
SpanRefpublic #600 - Make
SpanProcessor::on_starttake a mutable span #601 - Renamed
labeltoattributeto 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_eventandmax_attributes_per_link#521 - Add dropped attribute counts to events and links #529
Changed
- Remove unnecessary clone in
Keytype #491 - Remove
#[must_use]fromset_tracer_provider#501 - Rename remaining usage of
default_samplertosampler#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
Displaytrait forKeyandValuetypes #353 - Remove
Optionfrom Array values #359 - Update
ShouldSample's parent parameter to beContext#368 - Consolidate error types in
tracemodule 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_contextrenamed tostart_with_context#399- Removed
build_with_contextas full context is now stored in builder #399 - SpanBuilder's
with_parentrenamed towith_parent_context#399