Skip to content

Commit 9397f95

Browse files
committed
chore: re-write metrics to test timestamp
1 parent 692b146 commit 9397f95

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,20 @@ jobs:
282282
- job_name: 'e2e-perf-metrics'
283283
static_configs:
284284
- targets: ['pushgateway:9091']
285+
286+
metric_relabel_configs:
287+
# rename old_metric → new_metric
288+
- source_labels: [__name__]
289+
regex: '^e2e_cpu_seconds_total$'
290+
target_label: __name__
291+
replacement: e2e_cpu_seconds_total_v1
292+
action: replace
293+
- source_labels: [__name__]
294+
regex: '^e2e_memory_rss_bytes$'
295+
target_label: __name__
296+
replacement: e2e_memory_rss_bytes_v1
297+
action: replace
298+
285299
remote_write:
286300
- url: "$PUSH_URL"
287301
basic_auth:

0 commit comments

Comments
 (0)