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

Remove the "Func" name, use "Asynchronous" and "Observable" #1645

Merged
merged 9 commits into from
Apr 27, 2021

Conversation

reyang
Copy link
Member

@reyang reyang commented Apr 26, 2021

Follow up #1617 (comment).

This has been discussed and concluded during the metrics API/SDK spec SIG meeting.

Changes

  • Used "Asynchronous Counter" as the name of the entry.
  • Added description to encourage implementations to use "ObservableCounter".
  • Clarified that these concepts have nothing to do with asynchronous pattern or observer pattern.
  • Changed other async instruments so we have consistency.

@reyang
Copy link
Member Author

reyang commented Apr 26, 2021

Copy link
Contributor

@victlu victlu left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@jkwatson jkwatson left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Member

@alolita alolita left a comment

Choose a reason for hiding this comment

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

lgtm.

Copy link

@noahfalk noahfalk left a comment

Choose a reason for hiding this comment

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

Thanks!

@SergeyKanzhelev SergeyKanzhelev merged commit 7ccd144 into open-telemetry:main Apr 27, 2021
@reyang reyang deleted the reyang/func-async branch April 27, 2021 20:44
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this pull request Oct 31, 2024
…emetry#1645)

* use the term Asynchronous/Observable instead of Func

* call out that the ObservableCounter name has nothing to do with observer pattern

* omit the return value from async instruments example code for now

* Update specification/metrics/new_api.md

Co-authored-by: John Watson <[email protected]>

* Update specification/metrics/new_api.md

Co-authored-by: John Watson <[email protected]>

* Update specification/metrics/new_api.md

Co-authored-by: John Watson <[email protected]>

* rewrap

Co-authored-by: John Watson <[email protected]>
Co-authored-by: Bogdan Drutu <[email protected]>
Co-authored-by: Sergey Kanzhelev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.