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

[MINOR]: Fix ObservableInstrument::RemoveCallback #1582

Merged
merged 1 commit into from
Aug 26, 2022

Conversation

ahadnagy
Copy link
Contributor

Changes

This PR fixes the issue of not being able to de-register async instrument callbacks.

@ahadnagy ahadnagy requested a review from a team August 26, 2022 13:43
@codecov
Copy link

codecov bot commented Aug 26, 2022

Codecov Report

Merging #1582 (136d4ac) into main (cecfc19) will increase coverage by 0.03%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1582      +/-   ##
==========================================
+ Coverage   85.00%   85.02%   +0.03%     
==========================================
  Files         156      156              
  Lines        4977     4977              
==========================================
+ Hits         4230     4231       +1     
+ Misses        747      746       -1     
Impacted Files Coverage Δ
sdk/src/metrics/async_instruments.cc 80.00% <0.00%> (ø)
sdk/src/trace/batch_span_processor.cc 91.41% <0.00%> (+0.79%) ⬆️

Copy link
Member

@esigo esigo left a comment

Choose a reason for hiding this comment

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

LGTM
Thanks for the fix :)

@lalitb lalitb merged commit 1f37839 into open-telemetry:main Aug 26, 2022
yxue pushed a commit to yxue/opentelemetry-cpp that referenced this pull request Dec 5, 2022
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.

3 participants