Skip to content

Commit

Permalink
updating php spec compliance (#2108)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettmc committed Nov 9, 2021
1 parent 5418462 commit 1bd19c4
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions spec-compliance-matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -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| + | + | + | + | + | | + | + | + | + |
Expand All @@ -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 | | + | + | + | + | + | + | + | + | + | + | + |
Expand All @@ -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

Expand Down Expand Up @@ -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) | | + | | | | | - | | | | | |
Expand Down Expand Up @@ -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_* | + | + | | + | + | + | - | + | + | - | - |
Expand All @@ -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 | + | + | + | + | + | - | | | - | - | - |
Expand Down

0 comments on commit 1bd19c4

Please sign in to comment.