@@ -69,15 +69,15 @@ configurations:
6969          description: Portworx Cache write hit rate is low. 
7070      - alert: '[Portworx] High Read Latency In Disk' 
7171        expr: | 
72-           px_disk_stats_read_latency_seconds{ disk=~$disk}  > 0.100 
72+           px_disk_stats_read_latency_seconds > 0.100 
7373        for: 5m 
7474        labels: 
7575          severity: warning 
7676        annotations: 
7777          description: Portworx High Read Latency In Disk. 
7878      - alert: '[Portworx] High Write Latency In Disk' 
7979        expr: | 
80-           px_disk_stats_write_latency_seconds{ disk=~$disk}  > 0.250 
80+           px_disk_stats_write_latency_seconds > 0.250 
8181        for: 5m 
8282        labels: 
8383          severity: warning 
@@ -108,47 +108,47 @@ configurations:
108108        annotations: 
109109          description: Portworx Disk Full In 12H. 
110110      - alert: '[Portworx] Pool Status Not Online' 
111-         expr: "px_pool_stats_status{ pool=~$pool}  != 1" 
111+         expr: "px_pool_stats_status != 1" 
112112        for: 5m 
113113        labels: 
114114          severity: warning 
115115        annotations: 
116116          description: Portworx Node Status Not Online. 
117117      - alert: '[Portworx] High Write Latency In Pool' 
118118        expr: | 
119-           px_pool_stats_write_latency_seconds{ pool=~$pool}  > 0.250 
119+           px_pool_stats_write_latency_seconds > 0.250 
120120        for: 5m 
121121        labels: 
122122          severity: warning 
123123        annotations: 
124124          description: Portworx High Write Latency In Pool. 
125125      - alert: '[Portworx] Pool Full In 48H' 
126126        expr: | 
127-           predict_linear(px_pool_stats_available_bytes{ pool=~$pool} [48h], 48 * 3600) < 0 
127+           predict_linear(px_pool_stats_available_bytes[48h], 48 * 3600) < 0 
128128        for: 5m 
129129        labels: 
130130          severity: warning 
131131        annotations: 
132132          description: Portworx Pool Full In 48H. 
133133      - alert: '[Portworx] Pool Full In 12H' 
134134        expr: | 
135-           predict_linear(px_pool_stats_available_bytes{ pool=~$pool} [12h], 12 * 3600) < 0 
135+           predict_linear(px_pool_stats_available_bytes[12h], 12 * 3600) < 0 
136136        for: 5m 
137137        labels: 
138138          severity: warning 
139139        annotations: 
140140          description: Portworx Pool Full In 12H. 
141141      - alert: '[Portworx] High Write Latency In Volume' 
142142        expr: | 
143-           px_volume_write_latency_seconds{ pvc=~$pvc}  > 0.250 
143+           px_volume_write_latency_seconds > 0.250 
144144        for: 5m 
145145        labels: 
146146          severity: warning 
147147        annotations: 
148148          description: Portworx High Write Latency In Volume. 
149149      - alert: '[Portworx] High Read Latency In Volume' 
150150        expr: | 
151-           px_volume_read_latency_seconds{ pvc=~$pvc}  > 0.100 
151+           px_volume_read_latency_seconds > 0.100 
152152        for: 5m 
153153        labels: 
154154          severity: warning 
0 commit comments