Closed MrAlias closed 1 year ago
Requirements from reading the Metric Exporter Section of the spec. This doesn't cover The Push or Pull Subsections as different tickets cover them.
MetricExporter defines the interface that protocol-specific exporters MUST implement so that they can be plugged into OpenTelemetry SDK and support sending of telemetry data.
Metric Exporters always have an associated MetricReader.
The aggregation and temporality properties used by the OpenTelemetry Metric SDK are determined when registering Metric Exporters through their associated MetricReader.
OpenTelemetry language implementations MAY support automatically configuring the MetricReader to use for an Exporter.
Metric Exporters SHOULD report an error condition for data output by the
MetricReader
with unsupported Aggregation or Aggregation Temporality
There could be multiple Push Metric Exporters or Pull Metric Exporters or even a mixture of both configured at the same time on a given MeterProvider using one MetricReader for each exporter.
Notes: The actual Interface of the MetricExporter is defined in the Push Metric Exporter Section. Non-Normative means that there is a description in the spec but does not include normative vocabulary indicating requirements to the spec.
The only task left open is the AggregationSelector and TemporalitySelector, to see if those can be abused.
Closing, done.