Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metrics: misconfiguration leads to wrong temporality and no error message #2286

Closed
jmacd opened this issue Oct 14, 2021 · 1 comment
Closed
Labels
bug Something isn't working
Projects

Comments

@jmacd
Copy link
Contributor

jmacd commented Oct 14, 2021

Description

When you configure the metrics basic.Processor with an AggregationTemporalitySelector that disagrees with the configured Exporter, it's possible for the exporter to receive the wrong data and no error message.

I observed this with the following configuration:

  • basic.Processor given a StatelessAggregationTemporalitySelector (a.k.a. StatelessExportKindSelector).
  • Prometheus exporter used, this exporter will see deltas and no error messages.

Related: #2274.

Expected behavior

This should return errors to the exporter. After View Configuration is implemented, it should not be possible to arrive in this configuration. See open-telemetry/opentelemetry-specification#2013

@jmacd jmacd added the bug Something isn't working label Oct 14, 2021
@MrAlias MrAlias added this to Needs triage in Bugs via automation Oct 15, 2021
@MrAlias MrAlias moved this from Needs triage to Low priority in Bugs Oct 15, 2021
@MrAlias
Copy link
Contributor

MrAlias commented May 3, 2022

This issues relates to the current metric SDK. The metric SDK redesign project includes changes to the SDK design that will make this issue obsolete. I'm closing so no wasted work is performed to address this.

@MrAlias MrAlias closed this as completed May 3, 2022
Bugs automation moved this from Low priority to Closed May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Bugs
  
Closed
Development

No branches or pull requests

2 participants