You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec-compliance-matrix.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -212,6 +212,9 @@ formats is required. Implementing more than one format is optional.
212
212
| The metrics SDK provides an `AlignedHistogramBucketExemplarReservoir` that is used by default for `ExplicitBucketHistogram` aggregation. ||| + || - |||||| - ||
213
213
| The metrics SDK provides an `ExemplarFilter` interface or extension point. | X || - || - ||| + ||| - ||
214
214
| An `ExemplarFilter` has access to the measurement value, attributes, `Context` and timestamp. | X || - || - ||| + ||| - ||
215
+
| A metric Producer accepts an optional metric Filter |||||||||||||
216
+
| The metric Reader implementation supports registering metric Filter and passing them its registered metric Producers |||||||||||||
217
+
| The metric SDK's metric Producer implementations uses the metric Filter |||||||||||||
@@ -1113,8 +1117,12 @@ SHOULD provide at least the following:
1113
1117
* The default output `aggregation` (optional), a function of instrument kind. If not configured, the [default aggregation](#default-aggregation) SHOULD be used.
1114
1118
* The default output `temporality` (optional), a function of instrument kind. If not configured, the Cumulative temporality SHOULD be used.
1115
1119
***Status**: [Experimental](../document-status.md) - The default aggregation cardinality limit to use, a function of instrument kind. If not configured, a default value of 2000 SHOULD be used.
1120
+
***Status**: [Experimental](../document-status.md) - The [MetricFilter](#metricfilter) to apply to metrics and attributes during `MetricReader#Collect`.
1116
1121
* Zero of more [MetricProducer](#metricproducer)s (optional) to collect metrics from in addition to metrics from the SDK.
1117
1122
1123
+
**Status**: [Experimental](../document-status.md) - A `MetricReader` SHOULD provide the [MetricFilter](#metricfilter) to the SDK or registered [MetricProducer](#metricproducer)(s)
1124
+
when calling the `Produce` operation.
1125
+
1118
1126
The [MetricReader.Collect](#collect) method allows general-purpose
1119
1127
`MetricExporter` instances to explicitly initiate collection, commonly
1120
1128
used with pull-based metrics collection. A common implementation of
@@ -1502,10 +1510,10 @@ modeled to interact with other components in the SDK:
1502
1510
1503
1511
## MetricProducer
1504
1512
1505
-
**Status**: [Stable](../document-status.md)
1513
+
**Status**: [Stable](../document-status.md) except where otherwise specified
1506
1514
1507
1515
`MetricProducer` defines the interface which bridges to third-party metric
1508
-
sources MUST implement so they can be plugged into an OpenTelemetry
1516
+
sources MUST implement, so they can be plugged into an OpenTelemetry
1509
1517
[MetricReader](#metricreader) as a source of aggregated metric data. The SDK's
1510
1518
in-memory state MAY implement the `MetricProducer` interface for convenience.
0 commit comments