-
Notifications
You must be signed in to change notification settings - Fork 696
PeriodicExportingMetricReader will continue collection times out (#3098) #3100
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
PeriodicExportingMetricReader will continue collection times out (#3098) #3100
Conversation
Getting our company setup on EasyCLA at the moment. |
opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal/export/__init__.py
Outdated
Show resolved
Hide resolved
@markallanson is there any chance you can get CLA signed this week? I would like to get this included in the upcoming monthly release. |
I am off work this week but will follow up with legal/approver our side and see what can be done. |
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.
Thanks for the PR!
I am facing this issue too, could we get this PR merged? Thanks |
I am still chasing for the corporate CLA to be signed from our side. Will merge this in as soon as I can. |
@srikanthccv The company is now configured for EasyCLA and all signed so can go ahead and merge this change. |
Please add a CHANGELOG entry and fix any workflow failures (there were some failures last time). |
0b3f66c
to
cd522e7
Compare
d185889
to
277ccad
Compare
…n-telemetry#3098) In cases where collection times out, the period exporting reader thread should not terminate, but instead catch, log, and continue on after the regular interval seconds. Prior to this commit, a metric collection timeout would terminate the thread and stop reporting metrics to the wrapped exporter resulting in the appearance in observability tooling of metrics just stopping without reason.
277ccad
to
4e1307f
Compare
Description
In cases where collection times out, the period exporting reader thread should not terminate, but instead catch, log, and continue on after the regular interval seconds.
Prior to this commit, a metric collection timeout would terminate the thread and stop reporting metrics to the wrapped exporter resulting in the appearance in observability tooling of metrics just stopping without reason.
Fixes #3098
Type of change
How Has This Been Tested?
OtelPeriodicExportingMetricReader
thread remains alive after aMetricsTimeoutError
timeout error is raised by the collection processOtelPeriodicExportingMetricReader
thread is killed for other exception typesDoes This PR Require a Contrib Repo Change?
Checklist: