Use max instead of min

Since these services are replicated (two per service),
we should check for the max, not min, as one of the replicas
could be down, but still the API is Up.

Change-Id: I6dad9b74d65415f5f4f91e00c732792010487619
diff --git a/prometheus/files/grafana_dashboards/alertmanager_prometheus.json b/prometheus/files/grafana_dashboards/alertmanager_prometheus.json
index 7223fdc..64fecac 100644
--- a/prometheus/files/grafana_dashboards/alertmanager_prometheus.json
+++ b/prometheus/files/grafana_dashboards/alertmanager_prometheus.json
@@ -72,7 +72,7 @@
           "tableColumn": "",
           "targets": [
             {
-              "expr": "min(up{job=\"alertmanager\"})",
+              "expr": "max(up{job=\"alertmanager\"})",
               "format": "time_series",
               "intervalFactor": 2,
               "legendFormat": "",
diff --git a/prometheus/files/grafana_dashboards/pushgateway_prometheus.json b/prometheus/files/grafana_dashboards/pushgateway_prometheus.json
index bb24831..e1e341c 100644
--- a/prometheus/files/grafana_dashboards/pushgateway_prometheus.json
+++ b/prometheus/files/grafana_dashboards/pushgateway_prometheus.json
@@ -72,7 +72,7 @@
           "tableColumn": "",
           "targets": [
             {
-              "expr": "min(up{job=\"pushgateway\"})",
+              "expr": "max(up{job=\"pushgateway\"})",
               "format": "time_series",
               "intervalFactor": 2,
               "legendFormat": "",
diff --git a/prometheus/files/grafana_dashboards/remote_storage_adapter_prometheus.json b/prometheus/files/grafana_dashboards/remote_storage_adapter_prometheus.json
index 390784f..db9bfeb 100644
--- a/prometheus/files/grafana_dashboards/remote_storage_adapter_prometheus.json
+++ b/prometheus/files/grafana_dashboards/remote_storage_adapter_prometheus.json
@@ -69,7 +69,7 @@
           "tableColumn": "",
           "targets": [
             {
-              "expr": "min(up{job=\"remote_storage_adapter\"})",
+              "expr": "max(up{job=\"remote_storage_adapter\"})",
               "format": "time_series",
               "intervalFactor": 2,
               "legendFormat": "",