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

Count the Collect duration towards the PeriodicReader timeout, and document the behavior #4221

Merged
merged 5 commits into from Jun 26, 2023

Conversation

dmathieu
Copy link
Member

As documented in #4166, this changes the way we set the collect/export timeout in the PeriodicReader, so that timeout includes both collection and export, and not only export.

This also documents the timeout behavior.

See #4166.

@codecov
Copy link

codecov bot commented Jun 15, 2023

Codecov Report

Merging #4221 (f7035b5) into main (dc187e7) will decrease coverage by 0.1%.
The diff coverage is 100.0%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #4221     +/-   ##
=======================================
- Coverage   83.5%   83.5%   -0.1%     
=======================================
  Files        181     181             
  Lines      14161   14162      +1     
=======================================
- Hits       11829   11828      -1     
- Misses      2105    2107      +2     
  Partials     227     227             
Impacted Files Coverage Δ
sdk/metric/periodic_reader.go 91.8% <100.0%> (+<0.1%) ⬆️

... and 1 file with indirect coverage changes

@dmathieu dmathieu marked this pull request as draft June 15, 2023 10:41
@dmathieu dmathieu force-pushed the periodic-reader-timeout branch 3 times, most recently from 93676b1 to b6e5f6b Compare June 15, 2023 11:53
@dmathieu dmathieu marked this pull request as ready for review June 15, 2023 12:08
@pellared pellared added pkg:SDK Related to an SDK package area:metrics Part of OpenTelemetry Metrics labels Jun 22, 2023
@pellared pellared merged commit 3b124b3 into open-telemetry:main Jun 26, 2023
22 checks passed
@dmathieu dmathieu deleted the periodic-reader-timeout branch June 26, 2023 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:metrics Part of OpenTelemetry Metrics pkg:SDK Related to an SDK package
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants