From 852cf18e7f6b854d262f9acfa8d1e969d0c82287 Mon Sep 17 00:00:00 2001 From: Neil Shen Date: Fri, 27 Oct 2023 17:06:34 +0800 Subject: [PATCH] metrics: fix TiKV Detail command regex escape issue (#15858) ref tikv/tikv#15832 Signed-off-by: Neil Shen --- metrics/grafana/tikv_details.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metrics/grafana/tikv_details.json b/metrics/grafana/tikv_details.json index 38428aa92e4..60eead841d7 100644 --- a/metrics/grafana/tikv_details.json +++ b/metrics/grafana/tikv_details.json @@ -48470,7 +48470,7 @@ "refId": "StandardVariableQuery" }, "refresh": 1, - "regex": "/\btype=\"([^\"]+)\"/", + "regex": "/\\btype=\"([^\"]+)\"/", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", @@ -48568,4 +48568,4 @@ "title": "Test-Cluster-TiKV-Details", "uid": "RDVQiEzZz", "version": 1 -} \ No newline at end of file +}