@@ -161,18 +161,18 @@ cases:
161161 )
162162 expected: expected/trace-users-detail.yml
163163 # topN-OP-service Global
164- - query : swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression="top_n(service_sla ,3,des)/100 "
164+ - query : swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression="top_n(service_resp_time ,3,des)"
165165 expected : expected/topN-OP-service.yml
166166 # topN-OP-service Global with attrs
167- - query : swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression="top_n(service_sla ,3,des,attr0='GENERAL')/100 "
167+ - query : swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression="top_n(service_resp_time ,3,des,attr0='GENERAL')"
168168 expected : expected/topN-OP-service.yml
169- - query : swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression="top_n(service_sla ,3,des,attr0!='Not_GENERAL')/100 "
169+ - query : swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression="top_n(service_resp_time ,3,des,attr0!='Not_GENERAL')"
170170 expected : expected/topN-OP-service.yml
171171 # topN-OP-endpoint Global
172- - query : swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression="top_n(endpoint_sla ,3,des)/100 "
172+ - query : swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression="top_n(endpoint_resp_time ,3,des)"
173173 expected : expected/topN-OP-endpoint.yml
174174 # topN-OP-endpoint Global with attrs
175- - query : swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression="top_n(endpoint_sla ,3,des,attr0='GENERAL')/100 "
175+ - query : swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression="top_n(endpoint_resp_time ,3,des,attr0='GENERAL')"
176176 expected : expected/topN-OP-endpoint.yml
177- - query : swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression="top_n(endpoint_sla ,3,des,attr0!='Not_GENERAL')/100 "
177+ - query : swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression="top_n(endpoint_resp_time ,3,des,attr0!='Not_GENERAL')"
178178 expected : expected/topN-OP-endpoint.yml
0 commit comments