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

[processor/resourcedetection] introduce retry mechanism for detectors #37506

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

odubajDT
Copy link
Contributor

@odubajDT odubajDT commented Jan 27, 2025

Description

Introduce retry mechanism for detectors. This retry logic breaks the ordering of the detectors, therefore there was a need to introduce an order parameter into the config, so that the original behavior of detector order is perserved.

When order is set to false, detectors can detect resources in nondeterministic order and those able to detect the resource are not blocked by those who aren't

Link to tracking issue

Fixes #34761

@github-actions github-actions bot added the processor/resourcedetection Resource detection processor label Jan 27, 2025
@dashpole dashpole added the enhancement New feature or request label Jan 27, 2025
@odubajDT odubajDT force-pushed the docker-resource-failure branch from 9c0d598 to 8e0c7a7 Compare January 28, 2025 09:04
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
@odubajDT odubajDT force-pushed the docker-resource-failure branch from 8e0c7a7 to 5094273 Compare January 28, 2025 09:48
Signed-off-by: odubajDT <[email protected]>
@odubajDT odubajDT marked this pull request as ready for review January 28, 2025 13:23
@odubajDT odubajDT requested a review from a team as a code owner January 28, 2025 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request processor/resourcedetection Resource detection processor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker resource detection fails after system reboot
3 participants