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
Milestone

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
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
@pellared pellared moved this to Closed in Go: Triage Nov 2, 2023
@pellared pellared added this to the untracked milestone Nov 8, 2024
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
Development

No branches or pull requests

3 participants