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

Add details to Asynchronous UpDownCounter API #1704

Merged

Conversation

reyang
Copy link
Member

@reyang reyang commented May 15, 2021

Follow up #1617.

Changes

Added details to the Asynchronous Gauge instrument. In #1617 these were left as TODO.

@reyang reyang requested review from a team May 15, 2021 00:30
@reyang reyang added area:api Cross language API specification issue spec:metrics Related to the specification/metrics directory labels May 15, 2021
UpDownCounter. To determine the reported rate the Asynchronous UpDownCounter is
changing, the difference between successive measurements is used.

The callback function SHOULD NOT take indefinite amount of time. If multiple
Copy link
Contributor

Choose a reason for hiding this comment

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

similar question on # of exporters per-sdk

Copy link
Member Author

Choose a reason for hiding this comment

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

Tracked by the discussion here #1703 (comment).

Copy link
Member

@SergeyKanzhelev SergeyKanzhelev May 21, 2021

Choose a reason for hiding this comment

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

I think the collection cycle suggestion from the thread is great and making this note would be beneficial for the spec. Is there work item to track this ? I don't think we need to block this PR.

@SergeyKanzhelev
Copy link
Member

enough approvals, cool off period passed, merging. @reyang would you please address the comment about the number of calls to the callback per collection comment?

@SergeyKanzhelev SergeyKanzhelev merged commit 1eae14c into open-telemetry:main May 21, 2021
@reyang reyang deleted the reyang/observable-updowncounter branch October 4, 2021 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:api Cross language API specification issue spec:metrics Related to the specification/metrics directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants