Skip to content

Implement MetricReaderStorage#2456

Merged
ocelotl merged 22 commits intoopen-telemetry:mainfrom
aabmass:metric-reader-storage-2378
Feb 23, 2022
Merged

Implement MetricReaderStorage#2456
ocelotl merged 22 commits intoopen-telemetry:mainfrom
aabmass:metric-reader-storage-2378

Conversation

@aabmass
Copy link
Copy Markdown
Member

@aabmass aabmass commented Feb 10, 2022

Description

Implements MetricReaderStorage. See issue for more details and links to design doc.

Fixes #2378

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Added a new test cases mocking out dependencies including one concurrency test for race condition. This is now wired into the MeterProvider, so existing integration test cases cover it.

Does This PR Require a Contrib Repo Change?

  • No.

Checklist:

  • Followed the style guidelines of this project
  • Unit tests have been added

@aabmass aabmass added sdk Affects the SDK package. metrics labels Feb 10, 2022
@aabmass aabmass requested a review from a team February 10, 2022 02:35
@aabmass aabmass force-pushed the metric-reader-storage-2378 branch from ab97a63 to 0d4778e Compare February 10, 2022 02:42
@aabmass aabmass force-pushed the metric-reader-storage-2378 branch from 0d4778e to 04c954c Compare February 10, 2022 02:45
@codeboten codeboten added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Feb 10, 2022
@ocelotl ocelotl added the Approve Public API check This label shows that the public symbols added or changed in a PR are strictly necessary label Feb 11, 2022
@aabmass aabmass removed the Approve Public API check This label shows that the public symbols added or changed in a PR are strictly necessary label Feb 15, 2022
@aabmass aabmass requested a review from ocelotl February 16, 2022 04:12
Tests still need to be fixed.
@codeboten codeboten force-pushed the metric-reader-storage-2378 branch from 3e1b338 to 8557e85 Compare February 22, 2022 20:27
@aabmass
Copy link
Copy Markdown
Member Author

aabmass commented Feb 22, 2022

@ocelotl I undid the changes to SdkConfiguration in 17ec159. The SynchronousMeasurementConsumer handles the async callbacks and passes the measurements just to the individual MetricReaderStorage being collected.

@codeboten changes look good, I think this can be merged whenever

@ocelotl
Copy link
Copy Markdown
Contributor

ocelotl commented Feb 22, 2022

@aabmass please fix lint ✌️

@ocelotl
Copy link
Copy Markdown
Contributor

ocelotl commented Feb 23, 2022

@codeboten can the pending conversations be solved or do we need more changes/discussion?

@ocelotl ocelotl merged commit cd4c5e7 into open-telemetry:main Feb 23, 2022
@aabmass aabmass deleted the metric-reader-storage-2378 branch February 23, 2022 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

metrics sdk Affects the SDK package. Skip Changelog PRs that do not require a CHANGELOG.md entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement MetricReaderStorage

5 participants