diff --git a/CHANGELOG.md b/CHANGELOG.md index da51a64ba8c..76628ffe65c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -105,6 +105,8 @@ Updates: ([#984](https://github.com/open-telemetry/opentelemetry-specification/pull/984) - Metrics SDK: Specify TBD default aggregation for ValueRecorder ([#984](https://github.com/open-telemetry/opentelemetry-specification/pull/984) +- Trace SDK: Sampler.ShouldSample gets parent Context instead of SpanContext + ([#881](https://github.com/open-telemetry/opentelemetry-specification/pull/881)) - SDK: Specify known values, as well as basic error handling for OTEL_PROPAGATORS. ([#962](https://github.com/open-telemetry/opentelemetry-specification/pull/962)) ([#995](https://github.com/open-telemetry/opentelemetry-specification/pull/995)) diff --git a/spec-compliance-matrix.md b/spec-compliance-matrix.md index ead8b51d4fe..a0f9b33b1fb 100644 --- a/spec-compliance-matrix.md +++ b/spec-compliance-matrix.md @@ -65,6 +65,7 @@ status of the feature is not known. |RecordException with extra parameters | - | + | + | [-](https://github.com/open-telemetry/opentelemetry-python/issues/1102) | - | - | | + | - | + | |[Sampling](https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/sdk.md#sampling)| |Allow samplers to modify tracestate | | | | [-](https://github.com/open-telemetry/opentelemetry-python/issues/1220) | | | | | | | +|ShouldSample gets full parent Context | | | | | | | | | | | ## Baggage diff --git a/specification/trace/sdk.md b/specification/trace/sdk.md index 09451c1a7a1..7e597da8560 100644 --- a/specification/trace/sdk.md +++ b/specification/trace/sdk.md @@ -78,7 +78,8 @@ Returns the sampling Decision for a `Span` to be created. **Required arguments:** -* Parent `SpanReference`. May be invalid to indicate a root span. +* [`Context`](../context/context.md) with parent `Span`. + The Span's SpanContext may be invalid to indicate a root span. * `TraceId` of the `Span` to be created. If the parent `SpanReference` contains a valid `TraceId`, they MUST always match. * Name of the `Span` to be created.