Skip to content

Commit 5cee356

Browse files
authored
Update spec-compliance-matrix.md with Rust env var sampler support (#4795)
As discussed in this issue, the Rust SDK does support the `OTEL_TRACES_SAMPLER` and `OTEL_TRACES_SAMPLER_ARG` environment variables: open-telemetry/opentelemetry-rust#3283 ## Changes Updates the compliance table. I have not verified any of the unchanged cells, so it's possible there are other env vars marked "unsupported" that Rust supports. 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 * [x] [Spec compliance matrix](https://github.com/open-telemetry/opentelemetry-specification/blob/main/spec-compliance-matrix/template.yaml) updated if necessary
1 parent 379664f commit 5cee356

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

spec-compliance-matrix.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,8 @@ Note: Support for environment variables is optional.
273273
| OTEL_LINK_ATTRIBUTE_COUNT_LIMIT | + | - | | + | + | + | + | | - | + | |
274274
| OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT | + | | | | + | | + | | - | | |
275275
| OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT | + | | | | + | | + | | - | | |
276-
| OTEL_TRACES_SAMPLER | + | + | + | + | + | + | + | - | - | - | |
277-
| OTEL_TRACES_SAMPLER_ARG | + | + | + | + | + | + | + | - | - | - | |
276+
| OTEL_TRACES_SAMPLER | + | + | + | + | + | + | + | + | - | - | |
277+
| OTEL_TRACES_SAMPLER_ARG | + | + | + | + | + | + | + | + | - | - | |
278278
| OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT | + | + | + | + | + | - | + | | - | + | |
279279
| OTEL_ATTRIBUTE_COUNT_LIMIT | + | + | + | + | + | - | + | | - | + | |
280280
| OTEL_METRIC_EXPORT_INTERVAL | + | + | | + | + | | + | | - | + | |

spec-compliance-matrix/rust.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,9 +480,9 @@ sections:
480480
- name: OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT
481481
status: '?'
482482
- name: OTEL_TRACES_SAMPLER
483-
status: '-'
483+
status: '+'
484484
- name: OTEL_TRACES_SAMPLER_ARG
485-
status: '-'
485+
status: '+'
486486
- name: OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT
487487
status: '?'
488488
- name: OTEL_ATTRIBUTE_COUNT_LIMIT

0 commit comments

Comments
 (0)