@@ -18,9 +18,9 @@ groups:
1818 datasource : { type: prometheus, uid: DS_PROMETHEUS }
1919 expr : |
2020 sum by(instance)(
21- (1 - min_over_time(up{instance="deploy:8080 "}[2m]))
22- or on (instance) absent(up{instance="deploy:8080 "})
23- or on (instance) (up{instance="deploy:8080 "} * 0)
21+ (1 - min_over_time(up{instance="deploy:8082 "}[2m]))
22+ or on (instance) absent(up{instance="deploy:8082 "})
23+ or on (instance) (up{instance="deploy:8082 "} * 0)
2424 )
2525 instant : false
2626 - refId : B
@@ -104,9 +104,9 @@ groups:
104104 datasource : { type: prometheus, uid: DS_PROMETHEUS }
105105 expr : |
106106 sum by(instance)(
107- (1 - min_over_time(up{instance="frontend:8080 "}[2m]))
108- or on (instance) absent(up{instance="frontend:8080 "})
109- or on (instance) (up{instance="frontend:8080 "} * 0)
107+ (1 - min_over_time(up{instance="frontend:8081 "}[2m]))
108+ or on (instance) absent(up{instance="frontend:8081 "})
109+ or on (instance) (up{instance="frontend:8081 "} * 0)
110110 )
111111 instant : false
112112 - refId : B
@@ -190,9 +190,9 @@ groups:
190190 datasource : { type: prometheus, uid: DS_PROMETHEUS }
191191 expr : |
192192 sum by(instance)(
193- (1 - min_over_time(up{instance="user:8080 "}[2m]))
194- or on (instance) absent(up{instance="user:8080 "})
195- or on (instance) (up{instance="user:8080 "} * 0)
193+ (1 - min_over_time(up{instance="user:8083 "}[2m]))
194+ or on (instance) absent(up{instance="user:8083 "})
195+ or on (instance) (up{instance="user:8083 "} * 0)
196196 )
197197 instant : false
198198 - refId : B
0 commit comments