GoogleCloudPlatform / opentelemetry-operations-go

Apache License 2.0
127 stars 99 forks source link

Add SDK ExponentialHistogram unit test and check for errors from other metric types #822

Closed damemi closed 3 months ago

damemi commented 3 months ago

Fixes #805

This also adds an error check in the defer provider.Shutdown() because we weren't actually catching if there was an error exporting these without it

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 60.99%. Comparing base (2be0414) to head (1f92000).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #822 +/- ## ========================================== + Coverage 60.00% 60.99% +0.98% ========================================== Files 56 56 Lines 5896 5896 ========================================== + Hits 3538 3596 +58 + Misses 2206 2143 -63 - Partials 152 157 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.