Skip to content

Commit 56080ce

Browse files
authored
update php spec compliance (#4664)
## Changes Update PHP spec compliance matrix For non-trivial changes, follow the [change proposal process](https://github.com/open-telemetry/opentelemetry-specification/blob/main/CONTRIBUTING.md#proposing-a-change). * [ ] Related issues # * [ ] Related [OTEP(s)](https://github.com/open-telemetry/oteps) # * [ ] Links to the prototypes (when adding or changing features) * [ ] [`CHANGELOG.md`](https://github.com/open-telemetry/opentelemetry-specification/blob/main/CHANGELOG.md) file updated for non-trivial changes * [ ] [Spec compliance matrix](https://github.com/open-telemetry/opentelemetry-specification/blob/main/spec-compliance-matrix/template.yaml) updated if necessary
1 parent 5bc1f13 commit 56080ce

File tree

2 files changed

+46
-46
lines changed

2 files changed

+46
-46
lines changed

spec-compliance-matrix.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ formats is required. Implementing more than one format is optional.
6868
| Unicode support for keys and string values | | + | + | + | + | + | + | + | + | + | + | + |
6969
| [Span linking](specification/trace/api.md#specifying-links) | Optional | Go | Java | JS | Python | Ruby | Erlang | PHP | Rust | C++ | .NET | Swift |
7070
| Links can be recorded on span creation | | + | + | | + | + | + | + | + | + | + | |
71-
| Links can be recorded after span creation | | + | | | + | | | | | + | + | |
71+
| Links can be recorded after span creation | | + | | | + | | | + | | + | + | |
7272
| Links order is preserved | | + | + | | + | + | + | + | + | + | + | |
7373
| [Span events](specification/trace/api.md#add-events) | Optional | Go | Java | JS | Python | Ruby | Erlang | PHP | Rust | C++ | .NET | Swift |
7474
| AddEvent | | + | + | + | + | + | + | + | + | + | + | + |
@@ -80,7 +80,7 @@ formats is required. Implementing more than one format is optional.
8080
| [Sampling](specification/trace/sdk.md#sampling) | Optional | Go | Java | JS | Python | Ruby | Erlang | PHP | Rust | C++ | .NET | Swift |
8181
| Allow samplers to modify tracestate | | + | + | | + | + | + | + | + | + | + | + |
8282
| ShouldSample gets full parent Context | | + | + | + | + | + | + | + | + | + | - | + |
83-
| Sampler: JaegerRemoteSampler | | + | + | | | | | | + | | | |
83+
| Sampler: JaegerRemoteSampler | | + | + | | | | | - | + | | | |
8484
| [New Span ID created also for non-recording Spans](specification/trace/sdk.md#sdk-span-creation) | | + | + | | + | + | + | + | + | + | - | + |
8585
| [IdGenerators](specification/trace/sdk.md#id-generators) | | + | + | | + | + | + | + | + | + | | + |
8686
| [SpanLimits](specification/trace/sdk.md#span-limits) | X | + | + | | + | + | + | + | | - | | + |
@@ -114,7 +114,7 @@ formats is required. Implementing more than one format is optional.
114114
| `AsynchronousCounter` instrument is supported. | | + | + | + | + | + | + | + | + | + | + | |
115115
| `Histogram` instrument is supported. | | + | + | + | + | + | + | + | + | + | + | |
116116
| `AsynchronousGauge` instrument is supported. | | + | + | + | + | + | + | + | + | + | + | |
117-
| `Gauge` instrument is supported. | | - | - | - | + | + | - | - | + | - | - | |
117+
| `Gauge` instrument is supported. | | - | - | - | + | + | - | + | + | - | - | |
118118
| `UpDownCounter` instrument is supported. | | + | + | + | + | + | + | + | + | + | + | |
119119
| `AsynchronousUpDownCounter` instrument is supported. | | + | + | + | + | + | + | + | + | + | + | |
120120
| Instruments have `name` | | + | + | + | + | + | + | + | + | + | + | |
@@ -201,7 +201,7 @@ Disclaimer: this list of features is still a work in progress, please refer to t
201201
| Logger.Emit(LogRecord) | | | + | | + | + | | + | | + | - | |
202202
| Reuse Standard Attributes | X | + | | | | | | | | | | |
203203
| LogRecord.Set EventName | | + | | | | | | | + | + | | |
204-
| Logger.Enabled | X | + | | | | | | | + | + | | |
204+
| Logger.Enabled | X | + | | | | | | + | + | + | | |
205205
| SimpleLogRecordProcessor | | | + | | + | + | | + | | + | | |
206206
| BatchLogRecordProcessor | | | + | | + | + | | + | | + | | |
207207
| Can plug custom LogRecordProcessor | | | + | | + | + | | + | | + | | |
@@ -259,7 +259,7 @@ Note: Support for environment variables is optional.
259259
| OTEL_LOG_LEVEL | - | - | + | [-][py1059] | + | - | + | | - | - | - |
260260
| OTEL_PROPAGATORS | - | + | | + | + | + | + | - | - | - | - |
261261
| OTEL_BSP_* | + | + | + | + | + | + | + | + | - | + | - |
262-
| OTEL_BLRP_* | | + | | | + | | | + | - | + | |
262+
| OTEL_BLRP_* | | + | | | + | | + | + | - | + | |
263263
| OTEL_EXPORTER_OTLP_* | + | + | | + | + | + | + | + | + | + | - |
264264
| OTEL_EXPORTER_ZIPKIN_* | - | + | | + | + | - | + | - | - | + | - |
265265
| OTEL_TRACES_EXPORTER | - | + | + | + | + | + | + | - | - | - | |
@@ -282,7 +282,7 @@ Note: Support for environment variables is optional.
282282
| OTEL_METRICS_EXEMPLAR_FILTER | - | + | | | + | | + | | - | + | |
283283
| OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE | + | + | + | + | + | | + | | - | + | |
284284
| OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION | | + | | + | + | | | | - | | |
285-
| OTEL_EXPERIMENTAL_CONFIG_FILE | | | | | | | | | - | | |
285+
| OTEL_EXPERIMENTAL_CONFIG_FILE | | | | | | | + | | - | | |
286286

287287
## Declarative configuration
288288

@@ -292,19 +292,19 @@ Disclaimer: Declarative configuration is currently in Development status - work
292292

293293
| Feature | Go | Java | JS | Python | Ruby | Erlang | PHP | Rust | C++ | .NET | Swift |
294294
| ------- | -- | ---- | -- | ------ | ---- | ------ | --- | ---- | --- | ---- | ----- |
295-
| `Parse` a configuration file | | x | | | | | | | | | |
296-
| The `Parse` operation accepts the configuration YAML file format | | x | | | | | | | | | |
297-
| The `Parse` operation performs environment variable substitution | | x | | | | | | | | | |
298-
| The `Parse` operation returns configuration model | | x | | | | | | | | | |
299-
| The `Parse` operation resolves extension component configuration to `properties` | | x | | | | | | | | | |
300-
| `Create` SDK components | | x | | | | | | | | | |
301-
| The `Create` operation accepts configuration model | | x | | | | | | | | | |
302-
| The `Create` operation returns `TracerProvider` | | x | | | | | | | | | |
303-
| The `Create` operation returns `MeterProvider` | | x | | | | | | | | | |
304-
| The `Create` operation returns `LoggerProvider` | | x | | | | | | | | | |
305-
| The `Create` operation returns `Propagators` | | x | | | | | | | | | |
306-
| The `Create` operation calls `CreatePlugin` of corresponding `ComponentProvider` when encountering extension components | | x | | | | | | | | | |
307-
| Register a `ComponentProvider` | | x | | | | | | | | | |
295+
| `Parse` a configuration file | | x | | | | | + | | | | |
296+
| The `Parse` operation accepts the configuration YAML file format | | x | | | | | + | | | | |
297+
| The `Parse` operation performs environment variable substitution | | x | | | | | + | | | | |
298+
| The `Parse` operation returns configuration model | | x | | | | | + | | | | |
299+
| The `Parse` operation resolves extension component configuration to `properties` | | x | | | | | + | | | | |
300+
| `Create` SDK components | | x | | | | | + | | | | |
301+
| The `Create` operation accepts configuration model | | x | | | | | + | | | | |
302+
| The `Create` operation returns `TracerProvider` | | x | | | | | + | | | | |
303+
| The `Create` operation returns `MeterProvider` | | x | | | | | + | | | | |
304+
| The `Create` operation returns `LoggerProvider` | | x | | | | | + | | | | |
305+
| The `Create` operation returns `Propagators` | | x | | | | | + | | | | |
306+
| The `Create` operation calls `CreatePlugin` of corresponding `ComponentProvider` when encountering extension components | | x | | | | | + | | | | |
307+
| Register a `ComponentProvider` | | x | | | | | + | | | | |
308308

309309
## Exporters
310310

@@ -319,9 +319,9 @@ Disclaimer: Declarative configuration is currently in Development status - work
319319
| OTLP/HTTP binary Protobuf Exporter | * | + | + | + | + | + | + | + | + | + | + | - |
320320
| OTLP/HTTP JSON Protobuf Exporter | | + | - | + | [-][py1003] | | - | + | | + | - | - |
321321
| OTLP/HTTP gzip Content-Encoding support | X | + | + | + | + | + | - | + | | - | - | - |
322-
| Concurrent sending | | - | + | + | [-][py1108] | | - | | + | - | - | - |
323-
| Honors retryable responses with backoff | X | + | - | + | + | + | - | | | - | - | - |
324-
| Honors non-retryable responses | X | + | - | - | + | + | - | | | - | - | - |
322+
| Concurrent sending | | - | + | + | [-][py1108] | | - | - | + | - | - | - |
323+
| Honors retryable responses with backoff | X | + | - | + | + | + | - | + | | - | - | - |
324+
| Honors non-retryable responses | X | + | - | - | + | + | - | + | | - | - | - |
325325
| Honors throttling response | X | + | - | - | + | + | - | | | - | - | - |
326326
| Multi-destination spec compliance | X | + | - | | [-][py1109] | | - | | | - | - | - |
327327
| SchemaURL in ResourceSpans and ScopeSpans | | + | + | | + | | + | + | | | - | |
@@ -330,7 +330,7 @@ Disclaimer: Declarative configuration is currently in Development status - work
330330
| Honors the [user agent spec](specification/protocol/exporter.md#user-agent) | | | | | | | | + | | | + | |
331331
| [Partial Success](https://github.com/open-telemetry/opentelemetry-proto/blob/main/docs/specification.md#partial-success) messages are handled and logged for OTLP/gRPC | X | + | | | | | | + | | | | |
332332
| [Partial Success](https://github.com/open-telemetry/opentelemetry-proto/blob/main/docs/specification.md#partial-success-1) messages are handled and logged for OTLP/HTTP | X | + | | | | | | + | | | | |
333-
| Metric Exporter configurable temporality preference | | | + | | + | | | | | | | |
333+
| Metric Exporter configurable temporality preference | | | + | | + | | | + | | | | |
334334
| Metric Exporter configurable default aggregation | | | + | | + | | | | | | | |
335335
| **[Zipkin](specification/trace/sdk_exporters/zipkin.md)** | Optional | Go | Java | JS | Python | Ruby | Erlang | PHP | Rust | C++ | .NET | Swift |
336336
| Zipkin V1 JSON | X | - | + | | + | - | - | - | - | - | - | - |

spec-compliance-matrix/php.yaml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ sections:
114114
- name: Links can be recorded on span creation
115115
status: '+'
116116
- name: Links can be recorded after span creation
117-
status: '?'
117+
status: '+'
118118
- name: Links order is preserved
119119
status: '+'
120120
- heading: '[Span events](specification/trace/api.md#add-events)'
@@ -138,7 +138,7 @@ sections:
138138
- name: ShouldSample gets full parent Context
139139
status: '+'
140140
- name: 'Sampler: JaegerRemoteSampler'
141-
status: '?'
141+
status: '-'
142142
- name: '[New Span ID created also for non-recording Spans](specification/trace/sdk.md#sdk-span-creation)'
143143
status: '+'
144144
- name: '[IdGenerators](specification/trace/sdk.md#id-generators)'
@@ -190,7 +190,7 @@ sections:
190190
- name: '`AsynchronousGauge` instrument is supported.'
191191
status: '+'
192192
- name: '`Gauge` instrument is supported.'
193-
status: '-'
193+
status: '+'
194194
- name: '`UpDownCounter` instrument is supported.'
195195
status: '+'
196196
- name: '`AsynchronousUpDownCounter` instrument is supported.'
@@ -362,7 +362,7 @@ sections:
362362
- name: LogRecord.Set EventName
363363
status: '?'
364364
- name: Logger.Enabled
365-
status: '?'
365+
status: '+'
366366
- name: SimpleLogRecordProcessor
367367
status: '+'
368368
- name: BatchLogRecordProcessor
@@ -452,7 +452,7 @@ sections:
452452
- name: OTEL_BSP_*
453453
status: '+'
454454
- name: OTEL_BLRP_*
455-
status: '?'
455+
status: '+'
456456
- name: OTEL_EXPORTER_OTLP_*
457457
status: '+'
458458
- name: OTEL_EXPORTER_ZIPKIN_*
@@ -498,35 +498,35 @@ sections:
498498
- name: OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION
499499
status: '?'
500500
- name: OTEL_EXPERIMENTAL_CONFIG_FILE
501-
status: '?'
501+
status: '+'
502502
- name: Declarative configuration
503503
features:
504504
- name: '`Parse` a configuration file'
505-
status: '?'
505+
status: '+'
506506
- name: The `Parse` operation accepts the configuration YAML file format
507-
status: '?'
507+
status: '+'
508508
- name: The `Parse` operation performs environment variable substitution
509-
status: '?'
509+
status: '+'
510510
- name: The `Parse` operation returns configuration model
511-
status: '?'
511+
status: '+'
512512
- name: The `Parse` operation resolves extension component configuration to `properties`
513-
status: '?'
513+
status: '+'
514514
- name: '`Create` SDK components'
515-
status: '?'
515+
status: '+'
516516
- name: The `Create` operation accepts configuration model
517-
status: '?'
517+
status: '+'
518518
- name: The `Create` operation returns `TracerProvider`
519-
status: '?'
519+
status: '+'
520520
- name: The `Create` operation returns `MeterProvider`
521-
status: '?'
521+
status: '+'
522522
- name: The `Create` operation returns `LoggerProvider`
523-
status: '?'
523+
status: '+'
524524
- name: The `Create` operation returns `Propagators`
525-
status: '?'
525+
status: '+'
526526
- name: The `Create` operation calls `CreatePlugin` of corresponding `ComponentProvider` when encountering extension components
527-
status: '?'
527+
status: '+'
528528
- name: Register a `ComponentProvider`
529-
status: '?'
529+
status: '+'
530530
- name: Exporters
531531
features:
532532
- name: '[Exporter interface](specification/trace/sdk.md#span-exporter)'
@@ -548,11 +548,11 @@ sections:
548548
- name: OTLP/HTTP gzip Content-Encoding support
549549
status: '+'
550550
- name: Concurrent sending
551-
status: '?'
551+
status: '-'
552552
- name: Honors retryable responses with backoff
553-
status: '?'
553+
status: '+'
554554
- name: Honors non-retryable responses
555-
status: '?'
555+
status: '+'
556556
- name: Honors throttling response
557557
status: '?'
558558
- name: Multi-destination spec compliance
@@ -574,7 +574,7 @@ sections:
574574
messages are handled and logged for OTLP/HTTP'
575575
status: '+'
576576
- name: Metric Exporter configurable temporality preference
577-
status: '?'
577+
status: '+'
578578
- name: Metric Exporter configurable default aggregation
579579
status: '?'
580580
- heading: '**[Zipkin](specification/trace/sdk_exporters/zipkin.md)**'

0 commit comments

Comments
 (0)