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

[chore][exporter/prometheusexporter] Enable goleak check #30965

Merged
merged 7 commits into from
Mar 25, 2024

Conversation

crobert-1
Copy link
Member

Description:

This enables the goleak package for testing the Prometheus exporter. This helps to ensure no goroutines are leaked by this component. This is a test only change, the only updates are making sure all tests close the response body of Get calls.

Link to tracking Issue:
#30438

Testing:
All tests are passing, including added goleak test.

Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Feb 17, 2024
@crobert-1 crobert-1 removed the Stale label Feb 26, 2024
Copy link
Contributor

@iblancasa iblancasa left a comment

Choose a reason for hiding this comment

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

Could we merge this PR?

@andrzej-stencel
Copy link
Member

Could we merge this PR?

It would be good if the code owner @Aneurysm9 took a look.

@dmitryax dmitryax merged commit e22c1f7 into open-telemetry:main Mar 25, 2024
142 checks passed
@github-actions github-actions bot added this to the next release milestone Mar 25, 2024
@crobert-1 crobert-1 deleted the goleak_promexporter branch March 26, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants