Skip to content
Snippets Groups Projects

monitoring: Fix dbconn wait monitoring

Merged Administrator requested to merge fix-dbconn-wait-monitoring into main

Created by: tsenart

Yesterday I introduced a completely bogus change. The stats that db.Stats() returns doesn't permit us recording a histogram of blocked durations because it only keeps ever increasing counters. The best we can do is compute a mean / avg over time, which should be good enough to spot trends, but not good enough to spot major outliers (which we'd want to use a high percentile for).

Merge request reports

Merged by avatar (Jul 5, 2025 8:14am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading