Verify previous point is returned for cumulative instruments#2773
Verify previous point is returned for cumulative instruments#2773ocelotl merged 7 commits intoopen-telemetry:mainfrom
Conversation
|
@srikanthccv and @aabmass could probably provide a better review. |
|
I may have forgotten what's happening here https://github.com/open-telemetry/opentelemetry-python/blob/main/opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal/aggregation.py#L139-L144. I would like another approval on this before merging. |
There was a problem hiding this comment.
Is this PR just to verify the behavior of Prometheus? I was thinking we should test this for the SDK's behavior, e.g. with InMemoryMetricReader and cumulative config.
Basically what Srikanth said, I'd like to know if the internals of SDK are working not just prom
Fair point, I added another test that uses |
|
@aabmass removed the parameters, PTAL 👍 |
Fixes #2755