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

[receiver/discovery] Fix metrics-only collection #5359

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

dmitryax
Copy link
Contributor

@dmitryax dmitryax commented Sep 13, 2024

I missed some conditions in the previous PR. If the receiver was configured only on a metrics pipeline with any discovered services, it would block collector shutdown. This change fixes that. It's not a typical use case to enable it on the metrics pipeline only, so we don't need to test it extensively. It'd require an integration test. I'll be covered to some extent in the following PRs.

@dmitryax dmitryax requested review from a team as code owners September 13, 2024 04:08
I missed some conditions in previous PR. If the receiver was configured on metrics pipeline only with some discovered services, it would block collector shutdown's. This change fixes that. It's not a typical use case to enable it on metrics pipeline only, so we don't need to test it extensively. I'll be covered to some extend in the following PRs.
@dmitryax dmitryax merged commit 5208240 into main Sep 13, 2024
236 checks passed
@dmitryax dmitryax deleted the clear-up-metrics-only-run branch September 13, 2024 17:04
@github-actions github-actions bot locked and limited conversation to collaborators Sep 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants