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

Make shutdown function be called always #2405

Merged
merged 4 commits into from
Jan 25, 2022

Conversation

ocelotl
Copy link
Contributor

@ocelotl ocelotl commented Jan 24, 2022

Fixes #2404

@ocelotl ocelotl added metrics Skip Changelog PRs that do not require a CHANGELOG.md entry labels Jan 24, 2022
@ocelotl ocelotl self-assigned this Jan 24, 2022
@ocelotl ocelotl requested a review from a team January 24, 2022 22:40
@ocelotl ocelotl requested a review from codeboten January 24, 2022 22:52
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a comment that can be addressed in another PR. Also the return type for shutdown should be added.

@ocelotl ocelotl merged commit 1b7e161 into open-telemetry:main Jan 25, 2022
@ocelotl ocelotl deleted the issue_2404 branch January 25, 2022 20:20
_logger.warning("A MetricReader failed to shutdown")
if not metric_reader_result:
_logger.warning(
"MetricReader {metric_reader} failed to shutdown"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to use f-string here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
metrics Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Metric Reader function not being called
4 participants