Skip to content

Refactor metrics instrument#2297

Merged
ocelotl merged 6 commits intoopen-telemetry:mainfrom
ocelotl:issue_2294
Dec 14, 2021
Merged

Refactor metrics instrument#2297
ocelotl merged 6 commits intoopen-telemetry:mainfrom
ocelotl:issue_2294

Conversation

@ocelotl
Copy link
Copy Markdown
Contributor

@ocelotl ocelotl commented Nov 27, 2021

Refactors instruments

  1. Moves the handling of callable and generator callbacks for asynchronous instruments to the SDK
  2. Adds default aggregations to instruments
  3. Adds test cases

@ocelotl ocelotl added Skip Changelog PRs that do not require a CHANGELOG.md entry Approve Public API check This label shows that the public symbols added or changed in a PR are strictly necessary labels Nov 27, 2021
@ocelotl ocelotl requested a review from aabmass November 27, 2021 02:19
@ocelotl ocelotl self-assigned this Nov 27, 2021
@ocelotl ocelotl requested a review from a team November 27, 2021 02:19
@ocelotl ocelotl marked this pull request as draft November 27, 2021 02:19
@ocelotl ocelotl force-pushed the issue_2294 branch 6 times, most recently from 7209a5c to 29f5752 Compare November 29, 2021 03:04
@ocelotl ocelotl marked this pull request as ready for review December 6, 2021 19:44
@ocelotl ocelotl added the metrics label Dec 7, 2021
@aabmass
Copy link
Copy Markdown
Member

aabmass commented Dec 7, 2021

Review #2296 first

Looks like this PR is stacked on that other PR. Can you make a more descriptive title and description, and put this back in draft until the other one is merged. It's very hard to review when all the changes are visible globally.

@ocelotl ocelotl marked this pull request as draft December 8, 2021 21:13
@ocelotl
Copy link
Copy Markdown
Contributor Author

ocelotl commented Dec 8, 2021

Review #2296 first

Looks like this PR is stacked on that other PR. Can you make a more descriptive title and description, and put this back in draft until the other one is merged. It's very hard to review when all the changes are visible globally.

Sure, marking this one as draft and rebasing ✌️

@ocelotl ocelotl force-pushed the issue_2294 branch 2 times, most recently from 613dafd to 33d6ac2 Compare December 8, 2021 22:37
@ocelotl ocelotl marked this pull request as ready for review December 8, 2021 22:37
@ocelotl
Copy link
Copy Markdown
Contributor Author

ocelotl commented Dec 8, 2021

Review #2296 first

Looks like this PR is stacked on that other PR. Can you make a more descriptive title and description, and put this back in draft until the other one is merged. It's very hard to review when all the changes are visible globally.

Sure, marking this one as draft and rebasing v

Rebased, marking as ready for review 😎

Copy link
Copy Markdown
Member

@aabmass aabmass left a comment

Choose a reason for hiding this comment

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

LGTM just a few comments

Copy link
Copy Markdown
Member

@aabmass aabmass left a comment

Choose a reason for hiding this comment

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

LGTM once the open discussions are resolved

@NathanielRN NathanielRN changed the title Refactor instrument Refactor metrics instrument Dec 13, 2021
@ocelotl ocelotl merged commit 636262d into open-telemetry:main Dec 14, 2021
@ocelotl ocelotl deleted the issue_2294 branch December 14, 2021 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approve Public API check This label shows that the public symbols added or changed in a PR are strictly necessary metrics Skip Changelog PRs that do not require a CHANGELOG.md entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants