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 fixture with a histogram exemplar, and implement exemplar attachments in SDK #813

Merged
merged 6 commits into from
Mar 7, 2024

Conversation

dashpole
Copy link
Contributor

@dashpole dashpole commented Mar 6, 2024

Fixes #806

This makes sure exemplar support, which was fixed in #810 displays correctly in the UI for histograms

@dashpole dashpole requested a review from a team as a code owner March 6, 2024 17:57
@dashpole
Copy link
Contributor Author

dashpole commented Mar 6, 2024

This now implements exemplar attachments as well. I had to do that to get the fixture tests to pass.

@dashpole dashpole requested a review from aabmass March 6, 2024 20:46
Copy link

codecov bot commented Mar 6, 2024

Codecov Report

Attention: Patch coverage is 70.40000% with 37 lines in your changes are missing coverage. Please review.

Project coverage is 60.07%. Comparing base (8f90874) to head (f19eae6).

Files Patch % Lines
exporter/metric/metric.go 17.07% 34 Missing ⚠️
.../collector/integrationtest/testcases/conversion.go 95.23% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #813      +/-   ##
==========================================
+ Coverage   59.90%   60.07%   +0.17%     
==========================================
  Files          56       56              
  Lines        5749     5854     +105     
==========================================
+ Hits         3444     3517      +73     
- Misses       2155     2186      +31     
- Partials      150      151       +1     

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

@dashpole dashpole changed the title Add fixture with a histogram exemplar Add fixture with a histogram exemplar, and implement exemplar attachments in SDK Mar 6, 2024
@dashpole
Copy link
Contributor Author

dashpole commented Mar 7, 2024

We have int64 histogram exemplars from the fixture test now:

Screenshot 2024-03-07 at 9 55 44 AM

@dashpole dashpole merged commit 0fe89f6 into GoogleCloudPlatform:main Mar 7, 2024
32 checks passed
@dashpole dashpole deleted the test_int_exemplar branch March 7, 2024 15:14
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.

Implement exemplar attachments for SDK metric exporter
2 participants