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

Refine descriptions of Histogram+Summary for explicit OpenMetrics compat #302

Merged

Conversation

jsuereth
Copy link
Contributor

@jsuereth jsuereth commented May 8, 2021

Fixes #187
Fixes open-telemetry/prometheus-interoperability-spec#21

  • Summary data points must record non-negative values
  • Histogram sum can only be present if underlying measurements are non-negative. (Opening a bug to expand our API to allow this to present in more scenarios later)

…patibility

Fixes open-telemetry#187.

- Summary data points must record non-negative values
- Histogram sum can only be present if underlying measurements are non-negative. (Opening a bug to expand our API to allow this to present in more scenarios later)
Copy link
Member

@bogdandrutu bogdandrutu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a reference that this is to keep compatibility with OM.

CHANGELOG.md Outdated Show resolved Hide resolved
opentelemetry/proto/metrics/v1/metrics.proto Outdated Show resolved Hide resolved
@jsuereth
Copy link
Contributor Author

@bogdandrutu Updated the in-proto comments about open metrics (in addition to the PR commit title)

@bogdandrutu bogdandrutu merged commit 7965123 into open-telemetry:main May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants