diff --git a/metrics/grafana/pd.json b/metrics/grafana/pd.json index 9941004e0c2..018afe1d6a9 100644 --- a/metrics/grafana/pd.json +++ b/metrics/grafana/pd.json @@ -7909,7 +7909,7 @@ "tableColumn": "", "targets": [ { - "expr": "pd_checker_patrol_regions_time{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\"} != 0", + "expr": "max(max(pd_checker_patrol_regions_time{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\"})by(instance))", "legendFormat": "{{instance}}", "format": "time_series", "intervalFactor": 1,