You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sed -i 's/Test-Cluster-TiDB/Cluster-TiDB/g'$GF_PROVISIONING_PATH/dashboards/tidb.json
55
-
sed -i 's/Test-Cluster-TiDB/Cluster-TiDB/g'$GF_PROVISIONING_PATH/dashboards/tidb_runtime.json
56
-
sed -i 's/Test-Cluster-TiDB/Cluster-TiDB/g'$GF_PROVISIONING_PATH/dashboards/tidb_resource_control.json
57
-
sed -i 's/label_values(pd_cluster_status, tidb_cluster)/label_values(tidb_server_connections, tidb_cluster)/g'$GF_PROVISIONING_PATH/dashboards/tidb.json
54
+
sed -i 's/Test-Cluster-TiDB/'$TIDB_CLUSTER_NAME'-TiDB/g'$GF_PROVISIONING_PATH/dashboards/tidb.json
55
+
sed -i 's/Test-Cluster-TiDB/'$TIDB_CLUSTER_NAME'-TiDB/g'$GF_PROVISIONING_PATH/dashboards/tidb_runtime.json
56
+
sed -i 's/Test-Cluster-TiDB/'$TIDB_CLUSTER_NAME'-TiDB/g'$GF_PROVISIONING_PATH/dashboards/tidb_resource_control.json
sed -i 's/Test-Cluster-Overview/Cluster-Overview/g'$GF_PROVISIONING_PATH/dashboards/overview.json
63
-
sed -i 's/Test-Cluster-Performance-Overview/Cluster-Performance-Overview/g'$GF_PROVISIONING_PATH/dashboards/performance_overview.json
64
-
sed -i 's/label_values(pd_cluster_status, tidb_cluster)/label_values(process_start_time_seconds, tidb_cluster)/g'$GF_PROVISIONING_PATH/dashboards/overview.json
61
+
sed -i 's/Test-Cluster-Overview/'$TIDB_CLUSTER_NAME'-Overview/g'$GF_PROVISIONING_PATH/dashboards/overview.json
62
+
sed -i 's/Test-Cluster-Performance-Overview/'$TIDB_CLUSTER_NAME'-Performance-Overview/g'$GF_PROVISIONING_PATH/dashboards/performance_overview.json
65
63
66
64
# PD dashboard
67
65
cp /tmp/pd.json $GF_PROVISIONING_PATH/dashboards
68
-
sed -i 's/Test-Cluster-PD/Cluster-PD/g'$GF_PROVISIONING_PATH/dashboards/pd.json
66
+
sed -i 's/Test-Cluster-PD/'$TIDB_CLUSTER_NAME'-PD/g'$GF_PROVISIONING_PATH/dashboards/pd.json
sed -i 's/Test-Cluster-TiCDC/Cluster-TiCDC/g'$GF_PROVISIONING_PATH/dashboards/ticdc.json
99
-
sed -i 's/label_values(go_goroutines, tidb_cluster)/label_values(ticdc_kvclient_event_feed_count, tidb_cluster)/g'$GF_PROVISIONING_PATH/dashboards/ticdc.json
96
+
sed -i 's/Test-Cluster-TiCDC/'$TIDB_CLUSTER_NAME'-TiCDC/g'$GF_PROVISIONING_PATH/dashboards/ticdc.json
sed -i 's/Test-Cluster-TiCDC-Summary/Cluster-TiCDC-Summary/g'$GF_PROVISIONING_PATH/dashboards/TiCDC-Monitor-Summary.json
102
-
sed -i 's/label_values(go_goroutines, tidb_cluster)/label_values(ticdc_kvclient_event_feed_count, tidb_cluster)/g'$GF_PROVISIONING_PATH/dashboards/TiCDC-Monitor-Summary.json
98
+
sed -i 's/Test-Cluster-TiCDC-Summary/'$TIDB_CLUSTER_NAME'-TiCDC/g'$GF_PROVISIONING_PATH/dashboards/TiCDC-Monitor-Summary.json
sed -i 's/Test-Cluster-TiKV-CDC/Cluster-TiKV-CDC/g'$GF_PROVISIONING_PATH/dashboards/tikv-cdc.json
107
-
sed -i 's/label_values(go_goroutines, tidb_cluster)/label_values(tikv_cdc_kvclient_event_feed_count, tidb_cluster)/g'$GF_PROVISIONING_PATH/dashboards/tikv_cdc.json
113
+
sed -i 's/Test-Cluster-TiKV-CDC/'$TIDB_CLUSTER_NAME'-TiKV-CDC/g'$GF_PROVISIONING_PATH/dashboards/tikv-cdc.json
0 commit comments