Skip to content

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

Merged
SergeyKanzhelev merged 9 commits intoopen-telemetry:mainfrom
reyang:reyang/func-async
Apr 27, 2021
Merged

Remove the "Func" name, use "Asynchronous" and "Observable"#1645
SergeyKanzhelev merged 9 commits intoopen-telemetry:mainfrom
reyang:reyang/func-async

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!

reyang and others added 4 commits April 26, 2021 11:06
Co-authored-by: John Watson <jkwatson@gmail.com>
Co-authored-by: John Watson <jkwatson@gmail.com>
Co-authored-by: John Watson <jkwatson@gmail.com>
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 <jkwatson@gmail.com>

* Update specification/metrics/new_api.md

Co-authored-by: John Watson <jkwatson@gmail.com>

* Update specification/metrics/new_api.md

Co-authored-by: John Watson <jkwatson@gmail.com>

* rewrap

Co-authored-by: John Watson <jkwatson@gmail.com>
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
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.