fix: Update DB healthcheck to use conn.load_balancer for deriving DB
Change PrometheusAlertIndicator (and all inheriting indicators) to rely on connection.load_balancer for deriving current context SLI/SLOs Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/501105
显示
- app/services/import/reassign_placeholder_user_records_service.rb 2 个添加, 4 个删除...vices/import/reassign_placeholder_user_records_service.rb
- lib/gitlab/database/background_migration/batched_migration.rb 1 个添加, 2 个删除...gitlab/database/background_migration/batched_migration.rb
- lib/gitlab/database/health_status/context.rb 2 个添加, 3 个删除lib/gitlab/database/health_status/context.rb
- lib/gitlab/database/health_status/indicators/prometheus_alert_indicator.rb 4 个添加, 4 个删除...se/health_status/indicators/prometheus_alert_indicator.rb
- lib/gitlab/sidekiq_middleware/skip_jobs.rb 1 个添加, 2 个删除lib/gitlab/sidekiq_middleware/skip_jobs.rb
- spec/lib/gitlab/database/health_status/indicators/autovacuum_active_on_table_spec.rb 1 个添加, 2 个删除...alth_status/indicators/autovacuum_active_on_table_spec.rb
- spec/lib/gitlab/database/health_status/indicators/prometheus_alert_indicator_spec.rb 1 个添加, 2 个删除...alth_status/indicators/prometheus_alert_indicator_spec.rb
- spec/lib/gitlab/database/health_status/indicators/write_ahead_log_spec.rb 1 个添加, 2 个删除...database/health_status/indicators/write_ahead_log_spec.rb
- spec/lib/gitlab/database/health_status_spec.rb 0 个添加, 1 个删除spec/lib/gitlab/database/health_status_spec.rb
- spec/lib/gitlab/sidekiq_middleware/skip_jobs_spec.rb 1 个添加, 1 个删除spec/lib/gitlab/sidekiq_middleware/skip_jobs_spec.rb
- spec/support/shared_examples/database_health_status_indicators/prometheus_alert_based_shared_examples.rb 1 个添加, 2 个删除...atus_indicators/prometheus_alert_based_shared_examples.rb
加载中
想要评论请 注册 或 登录