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] Only attempt to detect k8s node resource attributes when enabled #32039

Merged
merged 1 commit into from
Mar 30, 2024

Conversation

crobert-1
Copy link
Member

Description:

Detecting k8s node resource attributes requires specific permissions and configuration. If they're disabled we shouldn't hit errors trying to detect them. This change makes it so that these resource attributes are only attempted to be detected when enabled.

Link to tracking Issue:
Resolves #31941

Testing:
Existing tests are passing. New test was failing before changes, succeeds after.

@dmitryax dmitryax merged commit 66df53c into open-telemetry:main Mar 30, 2024
143 checks passed
@github-actions github-actions bot added this to the next release milestone Mar 30, 2024
@crobert-1 crobert-1 deleted the resdetproc_check_enabled branch April 3, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
processor/resourcedetection Resource detection processor
Projects
None yet
3 participants