Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

pd: alert time fallback #511

Merged
merged 1 commit into from
Aug 24, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions roles/prometheus/files/pd.rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,15 @@ groups:
description: 'cluster: ENV_LABELS_ENV, type: {{ $labels.type }}, instance: {{ $labels.instance }}, values: {{ $value }}'
value: '{{ $value }}'
summary: TiKV_space_used_more_than_80%

- alert: PD_system_time_slow
expr: changes(pd_server_tso{type="system_time_slow"}[10m]) >= 1
for: 1m
labels:
env: ENV_LABELS_ENV
level: warning
expr: changes(pd_server_tso{type="system_time_slow"}[10m]) >= 1
annotations:
description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values: {{ $value }}'
value: '{{ $value }}'
summary: PD_system_time_slow