Skip to content

Commit d5a917f

Browse files
committed
chore: strip timestamp
1 parent f707bb7 commit d5a917f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/e2e-tests-linux-split.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ jobs:
270270
s/^(e2e_cpu_seconds_total)\{/e2e_cpu_seconds_total_v1\{/;
271271
s/^(e2e_memory_rss_bytes)\{/e2e_memory_rss_bytes_v1\{/
272272
' prometheus.txt > prometheus_renamed.txt
273-
273+
sed -E 's/\s+[0-9]+(\.[0-9]+)?$//' prometheus.txt > prometheus_no_ts.txt
274274
printf '\n*****************\n'
275275
printf '\n curl e2e_cpu_seconds_total \n'
276276
cat prometheus_renamed.txt
@@ -306,7 +306,7 @@ jobs:
306306
- name: Start pushgateway server
307307
run: |
308308
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
310310
#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
311311
printf '\n*****************\n'
312312
echo 'This is my current directory:'

0 commit comments

Comments
 (0)