You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
13
13
- Jaeger exporter was updated to use thrift v0.14.1. (#1712)
14
14
- Migrate from using internally built and maintained version of the OTLP to the one hosted at `go.opentelemetry.io/proto/otlp`. (#1713)
15
15
- Migrate from using `github.com/gogo/protobuf` to `google.golang.org/protobuf` to match `go.opentelemetry.io/proto/otlp`. (#1713)
16
+
- The storage of a local or remote Span in a `context.Context` using its SpanContext is unified to store just the current Span.
17
+
The Span's SpanContext can now self-identify as being remote or not.
18
+
This means that `"go.opentelemetry.io/otel/trace".ContextWithRemoteSpanContext` will now overwrite any existing current Span, not just existing remote Spans, and make it the current Span in a `context.Context`. (#1731)
16
19
- Modify `BatchSpanProcessor.ForceFlush` to abort after timeout/cancellation (#TBD)
17
20
18
21
### Removed
@@ -21,6 +24,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
21
24
This is unspecified behavior that the OpenTelemetry community plans to standardize in the future.
22
25
To prevent backwards incompatible changes when it is specified, these links are removed. (#1726)
23
26
- Setting error status while recording error with Span from oteltest package. (#1729)
27
+
- The concept of a remote and local Span stored in a context is unified to just the current Span.
28
+
Because of this `"go.opentelemetry.io/otel/trace".RemoteSpanContextFromContext` is removed as it is no longer needed.
29
+
Instead, `"go.opentelemetry.io/otel/trace".SpanContextFromContex` can be used to return the current Span.
30
+
If needed, that Span's `SpanContext.IsRemote()` can then be used to determine if it is remote or not. (#1731)
0 commit comments