File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ jobs:
270
270
s/^(e2e_cpu_seconds_total)\{/e2e_cpu_seconds_total_v1\{/;
271
271
s/^(e2e_memory_rss_bytes)\{/e2e_memory_rss_bytes_v1\{/
272
272
' prometheus.txt > prometheus_renamed.txt
273
-
273
+ sed -E 's/\s+[0-9]+(\.[0-9]+)?$//' prometheus.txt > prometheus_no_ts.txt
274
274
printf '\n*****************\n'
275
275
printf '\n curl e2e_cpu_seconds_total \n'
276
276
cat prometheus_renamed.txt
@@ -306,7 +306,7 @@ jobs:
306
306
- name : Start pushgateway server
307
307
run : |
308
308
docker run -d --name pushgateway -p 9091:9091 prom/pushgateway
309
- cat ./artifacts/metrics/prometheus_renamed .txt | curl --data-binary @- http://localhost:9091/metrics/job/e2e-perf
309
+ cat ./artifacts/metrics/prometheus_no_ts .txt | curl --data-binary @- http://localhost:9091/metrics/job/e2e-perf
310
310
#docker run -d --name http-server -v $(pwd):/app -w /app -p 8000:8000 python:3.11-slim python -m http.server 8000 > http.log 2>&1
311
311
printf '\n*****************\n'
312
312
echo 'This is my current directory:'
You can’t perform that action at this time.
0 commit comments