Skip to content

fix(charts): update alert conditions to bridge metrics gap#1981

Merged
IvoGoman merged 1 commit into
mainfrom
fix/greenhouse/alerts
May 12, 2026
Merged

fix(charts): update alert conditions to bridge metrics gap#1981
IvoGoman merged 1 commit into
mainfrom
fix/greenhouse/alerts

Conversation

@IvoGoman
Copy link
Copy Markdown
Contributor

Co-authored-by: Copilot copilot@github.com
Signed-off-by: Ivo Gosemann ivo.gosemann@sap.com

Description

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI
  • 📦 Chore (Release)
  • ⏩ Revert

Related Tickets & Documents

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help
  • Separate ticket for tests # (issue/pr)

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Added to documentation?

  • 📜 README.md
  • 🤝 Documentation pages updated
  • 🙅 no documentation needed
  • (if applicable) generated OpenAPI docs for CRD changes

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes

@IvoGoman IvoGoman requested a review from a team as a code owner May 11, 2026 11:40
Copilot AI review requested due to automatic review settings May 11, 2026 11:40
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates Helm chart versions and adjusts Prometheus alert rule expressions to better tolerate short-lived gaps in controller-emitted metrics (by using last_over_time(...)).

Changes:

  • Bump manager chart version to 0.10.2 and bump greenhouse chart + dependency references accordingly.
  • Update several alert conditions to use last_over_time(...[15m]) to bridge metric staleness gaps.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
charts/manager/Chart.yaml Bumps the manager chart version.
charts/manager/alerts/resource.alerts Updates owned-by label missing alert query to use last_over_time.
charts/manager/alerts/plugin.alerts Updates plugin readiness alert query to use last_over_time.
charts/manager/alerts/organization.alerts Updates organization/scim readiness alert queries to use last_over_time.
charts/manager/alerts/cluster.alerts Updates multiple cluster-related alert queries to use last_over_time (and keeps token expiry aggregated).
charts/greenhouse/Chart.yaml Bumps greenhouse chart version and updates manager dependency version.
charts/greenhouse/Chart.lock Updates locked manager dependency version and regenerates digest/timestamp.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread charts/manager/alerts/resource.alerts Outdated
Comment thread charts/manager/alerts/plugin.alerts Outdated
Comment thread charts/manager/alerts/organization.alerts Outdated
Comment thread charts/manager/alerts/organization.alerts Outdated
Comment thread charts/manager/alerts/cluster.alerts Outdated
Comment thread charts/manager/alerts/cluster.alerts Outdated
@IvoGoman IvoGoman force-pushed the fix/greenhouse/alerts branch from 8950675 to 24da0fe Compare May 11, 2026 13:19
Signed-off-by: Ivo Gosemann <ivo.gosemann@sap.com>
@IvoGoman IvoGoman force-pushed the fix/greenhouse/alerts branch from 24da0fe to 10d255b Compare May 12, 2026 14:03
@IvoGoman IvoGoman merged commit 28d2389 into main May 12, 2026
10 checks passed
@IvoGoman IvoGoman deleted the fix/greenhouse/alerts branch May 12, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants