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

Backport #221 and #222 to master branch #243

Merged
merged 7 commits into from
Jan 25, 2024
Merged

Conversation

brawndou
Copy link
Collaborator

Changes:

@brawndou brawndou requested a review from mway January 24, 2024 22:09

"github.com/golang/mock/gomock"
"github.com/stretchr/testify/require"
"github.com/uber-go/tally/v4"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

changed import to v4, everything else is the same as v3

Copy link

codecov bot commented Jan 24, 2024

Codecov Report

Attention: 27 lines in your changes are missing coverage. Please review.

Comparison is base (2498a0d) 47.95% compared to head (934e203) 48.04%.

Files Patch % Lines
tallymock/stats_reporter.go 35.29% 22 Missing ⚠️
scope_registry.go 82.14% 4 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #243      +/-   ##
==========================================
+ Coverage   47.95%   48.04%   +0.09%     
==========================================
  Files          64       65       +1     
  Lines        6006     6061      +55     
==========================================
+ Hits         2880     2912      +32     
- Misses       2686     2709      +23     
  Partials      440      440              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@brawndou brawndou merged commit 83f9861 into uber-go:master Jan 25, 2024
7 checks passed
brawndou added a commit to brawndou/tally that referenced this pull request Jan 26, 2024
* [bug] Ensure that parent scopes do not return closed subscopes (uber-go#221)

* TestScope: don't prune from registry when closed (uber-go#222)

* TestScope: don't prune from registry when closed (uber-go#222)

* lint fix

* move comment

* update go.mod and go.sum

* add license header

---------

Co-authored-by: Matt Way <[email protected]>
@brawndou brawndou mentioned this pull request Jan 26, 2024
brawndou added a commit that referenced this pull request Jan 26, 2024
* Revise internal cardinality metrics (#241)

* Backport #221 and #222 to master branch (#243)

* [bug] Ensure that parent scopes do not return closed subscopes (#221)

* TestScope: don't prune from registry when closed (#222)

---------

Co-authored-by: Matt Way <[email protected]>

---------

Co-authored-by: Matt Way <[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.

2 participants