feat: git service depend on patroni
What
Add dependency on patroni
for git
SLIs.
generated rules
- env
- environment
- pager
source_matchers:
- component="rails_primary_sql"
- type="patroni"
target_matchers:
- component="gitlab_shell"
- type="git"
- equal:
- env
- environment
- pager
source_matchers:
- component="rails_replica_sql"
- type="patroni"
target_matchers:
- component="gitlab_shell"
- type="git"
- equal:
- env
- environment
- pager
source_matchers:
- component="rails_primary_sql"
- type="patroni"
target_matchers:
- component="gitlab_sshd"
- type="git"
- equal:
- env
- environment
- pager
source_matchers:
- component="rails_replica_sql"
- type="patroni"
target_matchers:
- component="gitlab_sshd"
- type="git"
- equal:
- env
- environment
- pager
source_matchers:
- component="rails_primary_sql"
- type="patroni"
target_matchers:
- component="loadbalancer"
- type="git"
- equal:
- env
- environment
- pager
source_matchers:
- component="rails_replica_sql"
- type="patroni"
target_matchers:
- component="loadbalancer"
- type="git"
- equal:
- env
- environment
- pager
source_matchers:
- component="rails_primary_sql"
- type="patroni"
target_matchers:
- component="loadbalancer_ssh"
- type="git"
- equal:
- env
- environment
- pager
source_matchers:
- component="rails_replica_sql"
- type="patroni"
target_matchers:
- component="loadbalancer_ssh"
- type="git"
- equal:
- env
- environment
- pager
source_matchers:
- component="rails_primary_sql"
- type="patroni"
target_matchers:
- component="puma"
- type="git"
- equal:
- env
- environment
- pager
source_matchers:
- component="rails_replica_sql"
- type="patroni"
target_matchers:
- component="puma"
- type="git"
- equal:
- env
- environment
- pager
source_matchers:
- component="rails_primary_sql"
- type="patroni"
target_matchers:
- component="rails_requests"
- type="git"
- equal:
- env
- environment
- pager
source_matchers:
- component="rails_replica_sql"
- type="patroni"
target_matchers:
- component="rails_requests"
- type="git"
- equal:
- env
- environment
- pager
source_matchers:
- component="rails_primary_sql"
- type="patroni"
target_matchers:
- component="workhorse"
- type="git"
- equal:
- env
- environment
- pager
source_matchers:
- component="rails_replica_sql"
- type="patroni"
target_matchers:
- component="workhorse"
- type="git"
- equal:
- env
- environment
- pager
source_matchers:
- component="rails_primary_sql"
- type="patroni"
target_matchers:
- component="workhorse_auth_api"
- type="git"
- equal:
- env
- environment
- pager
source_matchers:
- component="rails_replica_sql"
- type="patroni"
target_matchers:
- component="workhorse_auth_api"
- type="git"
Reference: https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/15769
Edited by Steve Xuereb