From 56937239ff52a76a437962099ac4d5693738687c Mon Sep 17 00:00:00 2001 From: Vishwesh Bankwar Date: Wed, 10 Jul 2024 12:53:10 -0700 Subject: [PATCH 1/2] Update matrix for exemplar's suppport in .NET --- spec-compliance-matrix.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/spec-compliance-matrix.md b/spec-compliance-matrix.md index bcb6faa02be..e24b5ecb532 100644 --- a/spec-compliance-matrix.md +++ b/spec-compliance-matrix.md @@ -162,15 +162,15 @@ formats is required. Implementing more than one format is optional. | The metrics Exporter `ForceFlush` can inform the caller whether it succeeded, failed or timed out. | | | + | + | - | | + | + | | + | + | | | The metrics Exporter provides a `shutdown` function. | | + | + | + | - | | + | + | + | + | + | | | The metrics Exporter `shutdown` function do not block indefinitely. | | + | + | + | - | | + | | | + | + | | -| The metrics SDK samples `Exemplar`s from measurements. | | | + | | - | | + | | | | - | | -| Exemplar sampling can be disabled. | | | - | | - | | + | | | | - | | -| The metrics SDK supports SDK-wide exemplar filter configuration | | | + | | - | | + | | | | - | | -| The metrics SDK supports `TraceBased` exemplar filter | | | + | | - | | + | | | | - | | -| The metrics SDK supports `AlwaysOn` exemplar filter | | | + | | - | | + | | | | - | | -| The metrics SDK supports `AlwaysOff` exemplar filter | | | + | | - | | + | | | | - | | -| Exemplars retain any attributes available in the measurement that are not preserved by aggregation or view configuration. | | | + | | - | | + | | | | - | | -| Exemplars contain the associated trace id and span id of the active span in the Context when the measurement was taken. | | | + | | - | | + | | | | - | | -| Exemplars contain the timestamp when the measurement was taken. | | | + | | - | | + | | | | - | | +| The metrics SDK samples `Exemplar`s from measurements. | | | + | | - | | + | | | + | - | | +| Exemplar sampling can be disabled. | | | - | | - | | + | | | + | - | | +| The metrics SDK supports SDK-wide exemplar filter configuration | | | + | | - | | + | | | + | - | | +| The metrics SDK supports `TraceBased` exemplar filter | | | + | | - | | + | | | + | - | | +| The metrics SDK supports `AlwaysOn` exemplar filter | | | + | | - | | + | | | + | - | | +| The metrics SDK supports `AlwaysOff` exemplar filter | | | + | | - | | + | | | + | - | | +| Exemplars retain any attributes available in the measurement that are not preserved by aggregation or view configuration. | | | + | | - | | + | | | + | - | | +| Exemplars contain the associated trace id and span id of the active span in the Context when the measurement was taken. | | | + | | - | | + | | | + | - | | +| Exemplars contain the timestamp when the measurement was taken. | | | + | | - | | + | | | + | - | | | The metrics SDK provides an `ExemplarReservoir` interface or extension point. | | | - | | - | | + | + | | | - | | | An `ExemplarReservoir` has an `offer` method with access to the measurement value, attributes, `Context` and timestamp. | | | - | | - | | + | + | | | - | | | The metrics SDK provides a `SimpleFixedSizeExemplarReservoir` that is used by default for all aggregations except `ExplicitBucketHistogram`. | | | + | | - | | + | + | | | - | | From 80edee3842b59b72a86d9638c1ee72e4615d902a Mon Sep 17 00:00:00 2001 From: Vishwesh Bankwar Date: Wed, 10 Jul 2024 13:07:05 -0700 Subject: [PATCH 2/2] .NET exemplar support --- spec-compliance-matrix.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/spec-compliance-matrix.md b/spec-compliance-matrix.md index e24b5ecb532..8d505c4a7e3 100644 --- a/spec-compliance-matrix.md +++ b/spec-compliance-matrix.md @@ -162,15 +162,15 @@ formats is required. Implementing more than one format is optional. | The metrics Exporter `ForceFlush` can inform the caller whether it succeeded, failed or timed out. | | | + | + | - | | + | + | | + | + | | | The metrics Exporter provides a `shutdown` function. | | + | + | + | - | | + | + | + | + | + | | | The metrics Exporter `shutdown` function do not block indefinitely. | | + | + | + | - | | + | | | + | + | | -| The metrics SDK samples `Exemplar`s from measurements. | | | + | | - | | + | | | + | - | | -| Exemplar sampling can be disabled. | | | - | | - | | + | | | + | - | | -| The metrics SDK supports SDK-wide exemplar filter configuration | | | + | | - | | + | | | + | - | | -| The metrics SDK supports `TraceBased` exemplar filter | | | + | | - | | + | | | + | - | | -| The metrics SDK supports `AlwaysOn` exemplar filter | | | + | | - | | + | | | + | - | | -| The metrics SDK supports `AlwaysOff` exemplar filter | | | + | | - | | + | | | + | - | | -| Exemplars retain any attributes available in the measurement that are not preserved by aggregation or view configuration. | | | + | | - | | + | | | + | - | | -| Exemplars contain the associated trace id and span id of the active span in the Context when the measurement was taken. | | | + | | - | | + | | | + | - | | -| Exemplars contain the timestamp when the measurement was taken. | | | + | | - | | + | | | + | - | | +| The metrics SDK samples `Exemplar`s from measurements. | | | + | | - | | + | | | | + | | +| Exemplar sampling can be disabled. | | | - | | - | | + | | | | + | | +| The metrics SDK supports SDK-wide exemplar filter configuration | | | + | | - | | + | | | | + | | +| The metrics SDK supports `TraceBased` exemplar filter | | | + | | - | | + | | | | + | | +| The metrics SDK supports `AlwaysOn` exemplar filter | | | + | | - | | + | | | | + | | +| The metrics SDK supports `AlwaysOff` exemplar filter | | | + | | - | | + | | | | + | | +| Exemplars retain any attributes available in the measurement that are not preserved by aggregation or view configuration. | | | + | | - | | + | | | | + | | +| Exemplars contain the associated trace id and span id of the active span in the Context when the measurement was taken. | | | + | | - | | + | | | | + | | +| Exemplars contain the timestamp when the measurement was taken. | | | + | | - | | + | | | | + | | | The metrics SDK provides an `ExemplarReservoir` interface or extension point. | | | - | | - | | + | + | | | - | | | An `ExemplarReservoir` has an `offer` method with access to the measurement value, attributes, `Context` and timestamp. | | | - | | - | | + | + | | | - | | | The metrics SDK provides a `SimpleFixedSizeExemplarReservoir` that is used by default for all aggregations except `ExplicitBucketHistogram`. | | | + | | - | | + | + | | | - | | @@ -288,7 +288,7 @@ Note: Support for environment variables is optional. | OTEL_ATTRIBUTE_COUNT_LIMIT | + | + | + | + | + | - | + | | | + | | | OTEL_METRIC_EXPORT_INTERVAL | - | + | | | | | + | | | + | | | OTEL_METRIC_EXPORT_TIMEOUT | - | - | | | | | + | | | + | | -| OTEL_METRICS_EXEMPLAR_FILTER | - | + | | | | | + | | | - | | +| OTEL_METRICS_EXEMPLAR_FILTER | - | + | | | | | + | | | + | | | OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE | - | + | + | + | | | + | | | + | | | OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION | | + | | | | | | | | | | | OTEL_EXPERIMENTAL_CONFIG_FILE | | | | | | | | | | | |