Derive Clone for B3Propagator, SamplingResult, and SpanBuilder
Ability to configure the span id / trace id generator
impl From<T> for common Key and Value types
Add global tracer method
Add Resource API
Add Context API
Add Correlations API
Add HttpTextCompositePropagator for composing HttpTextPropagators
Add GlobalPropagator for globally configuring a propagator
Add TraceContextExt to provide methods for working with trace data in a context
Expose EvictedQueue constructor
Changed
Ensure that impls of Span are Send and Sync when used in global
Changed Key and Value method signatures to remove Cow references
Tracer's start now uses the implicit current context instead of an explicit span context.
start_with_context may be used to specify a context if desired.
with_span now accepts a span for naming consistency and managing the active state of a more
complex span (likely produced by a builder), and the previous functionality that accepts a
&str has been renamed to in_span, both of which now yield a context to the provided closure.
Tracer's get_active_span now accepts a closure
The Instrument trait has been renamed to FutureExt to avoid clashing with metric instruments,
and instead accepts contexts via with_context.
Span's get_context method has been renamed to span_context to avoid ambiguity.
HttpTextPropagators inject the current context instead of an explicit span context. The context
can be specified with inject_context.
SpanData's context has been renamed to span_context
Fixed
Update the probability sampler to match the spec
Rename Traceparent header to traceparent
Removed
TracerGenerics methods have been folded in to the Tracer trait so it is longer needed
Tracer's mark_span_as_inactive has been removed
Exporters no longer require an as_any method
Span's mark_as_active, mark_as_inactive, and as_any have been removed
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Updates the requirements on opentelemetry, opentelemetry_sdk and opentelemetry-stdout to permit the latest version. Updates
opentelemetry
to 0.24.0Release notes
Sourced from opentelemetry's releases.
Commits
5922205
sdk: expose Tracer::id_generator() (#1934)cdf5f03
Prepare .24 release (#1932)6207882
Insert tracing event name into LogRecord::event_name instead of attributes (#...a2e435f
[opentelemetry-otlp][tonic] Add more information to error message for Unknown...597327f
Initial attempt at adding metric semconvs. (#1918)621a5a9
Upgrade to hyper/http v1.0 (#1674)166a127
Update CHANGELOG.md (#1927)df815bd
Simplify OTLP example (#1926)3882b22
Update http example with json protocol (#1912)224289e
Removeisahc
support (#1924)Updates
opentelemetry_sdk
to 0.24.1Release notes
Sourced from opentelemetry_sdk's releases.
Commits
0e8f259
sdk: expose hidden Tracer::should_sample() method (#1937)a9b8621
Flatten field + fix u64 to string serde (#1911)47e52f1
Fix Stress Test (#1935)5922205
sdk: expose Tracer::id_generator() (#1934)cdf5f03
Prepare .24 release (#1932)6207882
Insert tracing event name into LogRecord::event_name instead of attributes (#...a2e435f
[opentelemetry-otlp][tonic] Add more information to error message for Unknown...597327f
Initial attempt at adding metric semconvs. (#1918)621a5a9
Upgrade to hyper/http v1.0 (#1674)166a127
Update CHANGELOG.md (#1927)Updates
opentelemetry-stdout
to 0.5.0Release notes
Sourced from opentelemetry-stdout's releases.
Commits
5922205
sdk: expose Tracer::id_generator() (#1934)cdf5f03
Prepare .24 release (#1932)6207882
Insert tracing event name into LogRecord::event_name instead of attributes (#...a2e435f
[opentelemetry-otlp][tonic] Add more information to error message for Unknown...597327f
Initial attempt at adding metric semconvs. (#1918)621a5a9
Upgrade to hyper/http v1.0 (#1674)166a127
Update CHANGELOG.md (#1927)df815bd
Simplify OTLP example (#1926)3882b22
Update http example with json protocol (#1912)224289e
Removeisahc
support (#1924)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show