From 15b01a07b5075cc1a20443909a3a6df2541905bc Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Mon, 12 Sep 2022 20:11:33 +0800 Subject: [PATCH] prome --- script/start_rpc_service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/start_rpc_service.sh b/script/start_rpc_service.sh index eb3d21214..628f63ac6 100644 --- a/script/start_rpc_service.sh +++ b/script/start_rpc_service.sh @@ -76,7 +76,7 @@ for ((i = 0; i < ${#service_filename[*]}; i++)); do list_to_string ${portList} service_ports=($ports_array) - portList2=$(cat $config_path | grep pushPrometheusPort | awk -F '[:]' '{print $NF}') + portList2=$(cat $config_path | grep ${service_prometheus_port_name[$i]} | awk -F '[:]' '{print $NF}') list_to_string $portList2 prome_ports=($ports_array) #Start related rpc services based on the number of ports