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(prometheus): making prometheus url optional instead of one time health check #1004

Merged
merged 1 commit into from
Mar 26, 2025

Conversation

geekbrother
Copy link
Contributor

Description

This PR makes the Prometheus URL config parameter optional and disables querying Prometheus if it's not provided, instead of the one-time health check during the bootstrap.

How Has This Been Tested?

Tested manually.

Due Diligence

  • Breaking change
  • Requires a documentation update
  • Requires a e2e/integration test update

@geekbrother geekbrother self-assigned this Mar 25, 2025
let Ok(header_value) = HeaderValue::from_str(&self.prometheus_workspace_header) else {
warn!(
error!(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It must be an error since if the Prometheus URL was passed and we can't update, something is wrong.

@geekbrother geekbrother merged commit 979a6f6 into master Mar 26, 2025
15 checks passed
@geekbrother geekbrother deleted the feat/optional_prometheus branch March 26, 2025 08:24
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