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

fix(metrics/collector): disabling kubelet and cAdvisor metrics #3133

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

swiatekm
Copy link

@swiatekm swiatekm commented Jul 5, 2023

Make sure we explicitly have an empty scrape configs array if both kubelet and cAdvisor metrics are disabled for the Otel collector. Opentelemetry-operator errors if this isn't the case.

Checklist

  • Changelog updated or skip changelog label added

@swiatekm swiatekm requested a review from a team as a code owner July 5, 2023 15:42
@swiatekm swiatekm force-pushed the fix/metrics/collector-fix-scrapeconfigs branch from 445fd3a to aa6017d Compare July 5, 2023 15:42
@swiatekm swiatekm merged commit 1767f8c into main Jul 6, 2023
@swiatekm swiatekm deleted the fix/metrics/collector-fix-scrapeconfigs branch July 6, 2023 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants