From 3ee8bc55b0daddcc2aa22a741e3894a8a4bb1fbf Mon Sep 17 00:00:00 2001 From: Bartosz Prusinowski Date: Wed, 14 Feb 2024 11:44:47 +0100 Subject: [PATCH] chore: Send avg metric to Prometheus --- .github/workflows/performance-tests.yml | 1 + k6/performance-tests/generate-github-action.js | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/performance-tests.yml b/.github/workflows/performance-tests.yml index 0c2d60a3a..2c4652a54 100644 --- a/.github/workflows/performance-tests.yml +++ b/.github/workflows/performance-tests.yml @@ -21,6 +21,7 @@ jobs: -e K6_PROMETHEUS_RW_USERNAME=${{ secrets.K6_PROMETHEUS_RW_USERNAME }} -e K6_PROMETHEUS_RW_PASSWORD=${{ secrets.K6_PROMETHEUS_RW_PASSWORD }} -e K6_PROMETHEUS_RW_SERVER_URL=${{ secrets.K6_PROMETHEUS_RW_SERVER_URL }} + -e K6_PROMETHEUS_RW_TREND_STATS=avg run: | k6 run -o experimental-prometheus-rw --tag testid=DataCubeComponents --env ENV=test --env CUBE_IRI=https://energy.ld.admin.ch/sfoe/bfe_ogd84_einmalverguetung_fuer_photovoltaikanlagen/9 --env CUBE_LABEL=Photovoltaikanlagen/9 -