opentelemetry-python icon indicating copy to clipboard operation
opentelemetry-python copied to clipboard

Metric exporters should report and error condition...

Open ocelotl opened this issue 3 years ago • 2 comments

From the spec:

Metric Exporters SHOULD report an error condition for data output by the MetricReader with unsupported Aggregation or Aggregation Temporality, as this condition can be corrected by a change of MetricReader configuration.

ocelotl avatar Mar 24 '22 22:03 ocelotl

This requirement sounds like one for exporter authors, not the SDK. I don't think there's anything to do here

aabmass avatar Mar 31 '22 16:03 aabmass

@aabmass Does this apply to some of the exporters that we own? Let's say, Prometheus? Also how would exporter authors even know about this requirement during implementation? Should we take responsibility and abstract this behavior?

lzchen avatar Mar 31 '22 17:03 lzchen