Skip to content

Conversation

theTibi
Copy link
Contributor

@theTibi theTibi commented Oct 20, 2025

…time for last successful backup check

  • Modified the expression to calculate the age of the last successful backup using max_over_time for better accuracy over a 30-day window.
  • Updated the summary and description annotations to include cluster and replica set information for clearer context in alerts.

PMM-0

Link to the Feature Build: SUBMODULES-0

If this PR adds or removes or alters one or more API endpoints, please review and add or update the relevant API documents as well:

  • API Docs updated

If this PR is related to some other PRs in this or other repositories, please provide links to those PRs:

  • Links to related pull requests (optional).

…time for last successful backup check

- Modified the expression to calculate the age of the last successful backup using max_over_time for better accuracy over a 30-day window.
- Updated the summary and description annotations to include cluster and replica set information for clearer context in alerts.
@theTibi theTibi requested a review from a team as a code owner October 20, 2025 12:52
@theTibi theTibi requested review from BupycHuk and idoqo and removed request for a team October 20, 2025 12:52
@theTibi
Copy link
Contributor Author

theTibi commented Oct 20, 2025

This mongodb PR is needed for this alert: percona/mongodb_exporter#1181

@ademidoff
Copy link
Member

@catalinaadam PTAL messages

Copy link

codecov bot commented Oct 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 44.56%. Comparing base (13c4fd3) to head (7e74cc3).
⚠️ Report is 4 commits behind head on v3.

Additional details and impacted files
@@           Coverage Diff           @@
##               v3    #4690   +/-   ##
=======================================
  Coverage   44.56%   44.56%           
=======================================
  Files         363      363           
  Lines       45706    45706           
=======================================
  Hits        20369    20369           
  Misses      23677    23677           
  Partials     1660     1660           
Flag Coverage Δ
managed 44.52% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…moving replica_set grouping. This change enhances clarity in the alerting logic while maintaining the focus on cluster-level backup status.
…rmation from summary and description annotations. This change enhances clarity and focuses on the cluster-level backup status.
@theTibi theTibi merged commit e3f6de2 into v3 Oct 21, 2025
15 checks passed
@theTibi theTibi deleted the PMM-14157 branch October 21, 2025 12:17
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.

4 participants