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

Force flush of metrics after local run #567

Merged
merged 2 commits into from
Jul 10, 2024
Merged

Force flush of metrics after local run #567

merged 2 commits into from
Jul 10, 2024

Conversation

andrewbrook
Copy link
Contributor

Open Telemetry metrics are not flushed by default on shutdown. For local runs (where shutdown happens immediately following completion of flow) we need to flush manually before the OTel client is shutdown.

Checklist (if applicable):

  • [ X ] Tested (manually)
  • Changelog updated
  • Docs updated

@andrewbrook andrewbrook marked this pull request as ready for review July 9, 2024 17:50
@andrewbrook andrewbrook merged commit 8c1767d into main Jul 10, 2024
4 checks passed
@andrewbrook andrewbrook deleted the local_metrics branch July 10, 2024 14:41
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.

2 participants