From 1bd19c43175707d3af2fa28a563faef4363316e8 Mon Sep 17 00:00:00 2001 From: Brett McBride Date: Wed, 10 Nov 2021 00:19:57 +1100 Subject: [PATCH] updating php spec compliance (#2108) --- spec-compliance-matrix.md | 52 +++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/spec-compliance-matrix.md b/spec-compliance-matrix.md index d6a55e6314d..04a37bee5c7 100644 --- a/spec-compliance-matrix.md +++ b/spec-compliance-matrix.md @@ -21,8 +21,8 @@ formats is required. Implementing more than one format is optional. | Get a Tracer | | + | + | + | + | + | + | + | + | + | + | + | | Get a Tracer with schema_url | | + | + | | | | | | | + | | | | Safe for concurrent calls | | + | + | + | + | + | + | + | + | + | + | + | -| Shutdown (SDK only required) | | + | + | + | + | + | + | | + | + | + | + | -| ForceFlush (SDK only required) | | + | + | - | + | + | + | | + | + | + | + | +| Shutdown (SDK only required) | | + | + | + | + | + | + | + | + | + | + | + | +| ForceFlush (SDK only required) | | + | + | - | + | + | + | + | + | + | + | + | | [Trace / Context interaction](specification/trace/api.md#context-interaction) | | | | | | | | | | | | | | Get active Span | | N/A| + | + | + | + | + | | + | + | + | + | | Set active Span | | N/A| + | + | + | + | + | | + | + | + | + | @@ -40,17 +40,17 @@ formats is required. Implementing more than one format is optional. | Create with default parent (active span) | | N/A| + | + | + | + | + | + | + | + | + | + | | Create with parent from Context | | + | + | + | + | + | + | + | + | + | + | + | | No explicit parent Span/SpanContext allowed | | + | + | + | + | + | + | | + | + | - | + | -| SpanProcessor.OnStart receives parent Context | | + | + | + | + | + | + | | + | - | - | + | +| SpanProcessor.OnStart receives parent Context | | + | + | + | + | + | + | + | + | - | - | + | | UpdateName | | + | + | + | + | + | + | + | + | + | + | + | | User-defined start timestamp | | + | + | + | + | + | + | + | + | + | + | + | | End | | + | + | + | + | + | + | + | + | + | + | + | | End with timestamp | | + | + | + | + | + | + | + | + | + | + | + | | IsRecording | | + | + | + | + | + | + | + | + | + | + | + | -| IsRecording becomes false after End | | + | + | + | + | + | + | | + | + | - | + | -| Set status with StatusCode (Unset, Ok, Error) | | + | + | + | + | + | - | | + | + | + | + | +| IsRecording becomes false after End | | + | + | + | + | + | + | + | + | + | - | + | +| Set status with StatusCode (Unset, Ok, Error) | | + | + | + | + | + | - | + | + | + | + | + | | Safe for concurrent calls | | + | + | + | + | + | + | + | + | + | + | + | -| events collection size limit | | + | + | + | + | + | - | | + | - | - | + | -| attribute collection size limit | | + | + | + | + | + | - | | + | - | - | + | +| events collection size limit | | + | + | + | + | + | - | + | + | - | - | + | +| attribute collection size limit | | + | + | + | + | + | - | + | + | - | - | + | | links collection size limit | | + | + | + | + | + | - | | + | - | - | + | | [Span attributes](specification/trace/api.md#set-attributes) | | | | | | | | | | | | | | SetAttribute | | + | + | + | + | + | + | + | + | + | + | + | @@ -63,30 +63,30 @@ formats is required. Implementing more than one format is optional. | `null` values documented as invalid/undefined | | + | + | + | + | + | N/A | | | + | | N/A | | Unicode support for keys and string values | | + | + | + | + | + | + | + | + | + | + | + | | [Span linking](specification/trace/api.md#specifying-links) | | | | | | | | | | | | | -| Links can be recorded on span creation | | + | + | | | + | + | | + | + | | | +| Links can be recorded on span creation | | + | + | | | + | + | + | + | + | | | | Links order is preserved | | + | + | | | + | + | | + | + | | | | [Span events](specification/trace/api.md#add-events) | | | | | | | | | | | | | | AddEvent | | + | + | + | + | + | + | + | + | + | + | + | | Add order preserved | | + | + | + | + | + | + | + | + | + | + | + | | Safe for concurrent calls | | + | + | + | + | + | + | + | + | + | + | + | | [Span exceptions](specification/trace/api.md#record-exception) | | | | | | | | | | | | | -| RecordException | | - | + | + | + | + | + | | + | - | + | - | -| RecordException with extra parameters | | - | + | + | + | + | + | | + | - | + | - | +| RecordException | | - | + | + | + | + | + | + | + | - | + | - | +| RecordException with extra parameters | | - | + | + | + | + | + | + | + | - | + | - | | [Sampling](specification/trace/sdk.md#sampling) | | | | | | | | | | | | | | Allow samplers to modify tracestate | | + | + | | + | + | + | | + | + | - | + | | ShouldSample gets full parent Context | | + | + | + | + | + | + | | + | + | - | + | -| [New Span ID created also for non-recording Spans](specification/trace/sdk.md#sdk-span-creation) | | + | + | | + | + | + | | + | + | - | + | -| [IdGenerators](specification/trace/sdk.md#id-generators) | | + | + | | + | + | - | | + | + | | + | -| [SpanLimits](specification/trace/sdk.md#span-limits) | X | + | + | | + | + | - | | | - | | + | -| [Built-in `SpanProcessor`s implement `ForceFlush` spec](specification/trace/sdk.md#forceflush-1) | | | + | | + | + | + | | + | + | | | -| [Attribute Limits](specification/common/common.md#attribute-limits) | X | | + | | | | - | | | | | | +| [New Span ID created also for non-recording Spans](specification/trace/sdk.md#sdk-span-creation) | | + | + | | + | + | + | + | + | + | - | + | +| [IdGenerators](specification/trace/sdk.md#id-generators) | | + | + | | + | + | - | + | + | + | | + | +| [SpanLimits](specification/trace/sdk.md#span-limits) | X | + | + | | + | + | - | + | | - | | + | +| [Built-in `SpanProcessor`s implement `ForceFlush` spec](specification/trace/sdk.md#forceflush-1) | | | + | | + | + | + | + | + | + | | | +| [Attribute Limits](specification/common/common.md#attribute-limits) | X | | + | | | | - | + | | | | | ## Baggage | Feature | Optional | Go | Java | JS | Python | Ruby | Erlang | PHP | Rust | C++ | .NET | Swift | |------------------------------------|----------|----|------|----|--------|------|--------|-----|------|-----|------|-------| -| Basic support | | + | + | + | + | + | + | | + | + | + | + | -| Use official header name `baggage` | | + | + | + | + | + | + | | + | + | + | + | +| Basic support | | + | + | + | + | + | + | + | + | + | + | + | +| Use official header name `baggage` | | + | + | + | + | + | + | + | + | + | + | + | ## Metrics @@ -190,10 +190,10 @@ Disclaimer: this list of features is still a work in progress, please refer to t | Feature | Optional | Go | Java | JS | Python | Ruby | Erlang | PHP | Rust | C++ | .NET | Swift | |---------------------------------------------------------------------------------------------------------------------------------------------|----------|----|------|----|--------|------|--------|-----|------|-----|------|-------| -| Create from Attributes | | + | + | + | + | + | + | | + | + | + | + | -| Create empty | | + | + | + | + | + | + | | + | + | + | + | -| [Merge (v2)](specification/resource/sdk.md#merge) | | + | + | | + | + | + | | + | + | + | | -| Retrieve attributes | | + | + | + | + | + | + | | + | + | + | + | +| Create from Attributes | | + | + | + | + | + | + | + | + | + | + | + | +| Create empty | | + | + | + | + | + | + | + | + | + | + | + | +| [Merge (v2)](specification/resource/sdk.md#merge) | | + | + | | + | + | + | + | + | + | + | | +| Retrieve attributes | | + | + | + | + | + | + | + | + | + | + | + | | [Default value](specification/resource/semantic_conventions/README.md#semantic-attributes-with-sdk-provided-default-value) for service.name | | + | + | | + | + | + | | | + | + | | | [Resource detector](specification/resource/sdk.md#detecting-resource-information-from-the-environment) interface/mechanism | | + | + | + | + | + | + | [-][php225] | + | + | + | + | | [Resource detectors populate Schema URL](specification/resource/sdk.md#detecting-resource-information-from-the-environment) | | + | | | | | - | | | | | | @@ -227,7 +227,7 @@ Note: Support for environment variables is optional. |----------------------------------------------|---|----|---|------|----|------|---|----|---|----|-----| |OTEL_RESOURCE_ATTRIBUTES | + | + | + | + | + | + | - | + | + | + | - | |OTEL_SERVICE_NAME | + | | | | | + | | | | | | -|OTEL_LOG_LEVEL | - | - | + | [-][py1059] | + | + | - | | - | - | - | +|OTEL_LOG_LEVEL | - | - | + | [-][py1059] | + | - | - | | - | - | - | |OTEL_PROPAGATORS | - | + | | + | + | + | - | - | - | - | - | |OTEL_BSP_* | - | + | | + | + | + | - | + | - | - | - | |OTEL_EXPORTER_OTLP_* | + | + | | + | + | + | - | + | + | - | - | @@ -250,12 +250,12 @@ Note: Support for environment variables is optional. | Feature | Optional | Go | Java | JS | Python | Ruby | Erlang | PHP | Rust | C++ | .NET | Swift | |--------------------------------------------------------------------------------|----------|----|------|----|----------|------|--------|-----|------|-----|------|-------| -| [Exporter interface](specification/trace/sdk.md#span-exporter) | | | + | | + | | | | + | + | + | | -| [Exporter interface has `ForceFlush`](specification/trace/sdk.md#forceflush-2) | | | + | | [-][py1779] | + | + | | - | | | | +| [Exporter interface](specification/trace/sdk.md#span-exporter) | | | + | | + | | | + | + | + | + | | +| [Exporter interface has `ForceFlush`](specification/trace/sdk.md#forceflush-2) | | | + | | [-][py1779] | + | + | + | - | | | | | Standard output (logging) | | + | + | + | + | + | + | - | + | + | + | + | -| In-memory (mock exporter) | | + | + | + | + | + | + | - | - | + | + | + | +| In-memory (mock exporter) | | + | + | + | + | + | + | + | - | + | + | + | | [OTLP](specification/protocol/otlp.md) | | | | | | | | | | | | | -| OTLP/gRPC Exporter | * | + | + | + | + | | + | | + | + | + | + | +| OTLP/gRPC Exporter | * | + | + | + | + | | + | + | + | + | + | + | | OTLP/HTTP binary Protobuf Exporter | * | + | + | + | + | + | + | | + | + | + | - | | OTLP/HTTP JSON Protobuf Exporter | | + | - | + | [-][py1003] | | - | | | + | - | - | | OTLP/HTTP gzip Content-Encoding support | X | + | + | + | + | + | - | | | - | - | - |