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

Only add to scheme when prometheus is available #2811

Conversation

jaronoff97
Copy link
Contributor

Description: Changes the prometheus operator integration to fail by logging (rather than panicking) and as a result only allowing the creation of prometheus resources when it is safe to do so.

Link to tracking Issue(s):

Testing: unit tests, e2e testing, local confirmation

Documentation: n/a

@jaronoff97 jaronoff97 requested a review from a team April 4, 2024 19:19
@jaronoff97 jaronoff97 requested a review from pavolloffay April 5, 2024 15:17
@jaronoff97 jaronoff97 merged commit ee3159f into open-telemetry:main Apr 5, 2024
31 checks passed
@jaronoff97 jaronoff97 deleted the disable-looking-for-podmonitor-servicemonitor-when-not-needed branch April 5, 2024 17:34
ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request May 1, 2024
* Only add to scheme when prometheus is available

* fix the bad stuff

* logs and better changelog
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.

Otel operator crashes if podmonitor and servicemonitor are not installed
3 participants