File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ extract_metrics_data() {
3939
4040 curl http://localhost:8080/metrics -o " $TMP_DIR /rollouts-metric-endpoint-output.txt"
4141
42+ echo " * Metrics gathered raw output ---------------------------------------------------------------"
43+ cat " $TMP_DIR /rollouts-metric-endpoint-output.txt"
44+ echo " ---------------------------------------------------------------------------------------------"
45+
4246 GET_REQUESTS=` cat " $TMP_DIR /rollouts-metric-endpoint-output.txt" | grep " rest_client_requests_total" | grep " GET" | rev | cut -d' ' -f1 | rev`
4347 PUT_REQUESTS=` cat " $TMP_DIR /rollouts-metric-endpoint-output.txt" | grep " rest_client_requests_total" | grep " PUT" | grep -v " 409" | rev | cut -d' ' -f1 | rev`
4448 POST_REQUESTS=` cat " $TMP_DIR /rollouts-metric-endpoint-output.txt" | grep " rest_client_requests_total" | grep " POST" | rev | cut -d' ' -f1 | rev`
You can’t perform that action at this time.
0 commit comments