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

Remove blocking calls in metrics framework #788

Merged
merged 49 commits into from
Aug 27, 2024
Merged

Remove blocking calls in metrics framework #788

merged 49 commits into from
Aug 27, 2024

Conversation

oliveromahony
Copy link
Contributor

@oliveromahony oliveromahony commented Aug 15, 2024

Proposed changes

Remove blocking calls in metrics framework so that the metrics get reported correctly in the buffered channel. Fixed some go routine leaks also.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • I have run make install-tools and have attached any dependency changes to this pull request
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • If applicable, I have updated any relevant documentation (README.md)
  • If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

@github-actions github-actions bot added chore Pull requests for routine tasks dependencies documentation Improvements or additions to documentation labels Aug 15, 2024
@oliveromahony oliveromahony added the v2.x Issues and Pull Requests related to the major version v2 label Aug 15, 2024
nginx-agent.conf Outdated Show resolved Hide resolved
src/core/environment.go Outdated Show resolved Hide resolved
nginx-agent.conf Outdated Show resolved Hide resolved
src/plugins/metrics.go Outdated Show resolved Hide resolved
@oliveromahony oliveromahony merged commit 2b5d31e into main Aug 27, 2024
38 checks passed
@oliveromahony oliveromahony deleted the remove-wg branch August 27, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for routine tasks dependencies documentation Improvements or additions to documentation v2.x Issues and Pull Requests related to the major version v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants