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 test units of histogram instrument kind #2507
Conversation
|
Thanks for your contribution! |
It would be my pleasure! 🤗 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am confused. The original comment of #2442 is to fix the end-to-end test of int64-histogram
and float64-histogram
, but I do not see such fix in this PR.
I don't think now is the time to fix these two lines since it didn't support Summary Metrics well for now. Intentionally trigger the assertion by making this line wrong to get objects of expected data back from exp.
The assertion obviously points that the object of Histogram is Sum which the same as Counter rather than Summary. I think there is nothing wrong with this test code file by checking all relevant test files :) |
And I'll try my best to take a part in #2280 |
I agree. Could you please open another pull request to resolve the ploblem above? @Jacob953 |
Codecov Report
@@ Coverage Diff @@
## main #2507 +/- ##
=====================================
Coverage 76.7% 76.7%
=====================================
Files 181 181
Lines 12175 12175
=====================================
Hits 9345 9345
Misses 2605 2605
Partials 225 225
|
I'll always pay attention to this problem. And could this PR be merged? :) |
Done