diff --git a/.github/workflows/run-performance.yaml b/.github/workflows/run-performance.yaml index 7f3b371..dfaf813 100644 --- a/.github/workflows/run-performance.yaml +++ b/.github/workflows/run-performance.yaml @@ -118,7 +118,6 @@ jobs: curl -v -H "Content-Type: application/json" -X POST -d @./message.json "$DISCORD_WEBHOOK_URL_SUCCEEDED" - name: Wait for simulation to complete - timeout-minutes: ${{ SIMULATION_RUNTIME }} run: | set -exo pipefail sleep ${SIMULATION_RUNTIME} diff --git a/notifications/notification-template.json b/notifications/notification-template.json new file mode 100644 index 0000000..c00ff81 --- /dev/null +++ b/notifications/notification-template.json @@ -0,0 +1,20 @@ +{ + "embeds": [ + { + "title": "$SIMULATION_STATUS_TAG", + "description": "[Dashboard](https://threebox.grafana.net/d/adc2vf8f58idcd/keramik-simulation?orgId=1&var-cluster=github-tests-2024&var-simulation=$THIS_TEST_NAMESPACE&from=now-6h&to=now)", + "color": $SIMULATION_COLOR, + "fields": [ + { + "name": "Duration", + "value": "$SIMULATION_RUNTIME", + "inline": true + }, + { + "name": "Namespace", + "value": "$THIS_TEST_NAMESPACE" + } + ] + } + ] + } diff --git a/performance/ceramic-new-streams/network.yaml b/performance/ceramic-new-streams/network.yaml index c4bc0cf..0c24a3a 100644 --- a/performance/ceramic-new-streams/network.yaml +++ b/performance/ceramic-new-streams/network.yaml @@ -30,4 +30,6 @@ spec: version: "0" monitoring: namespaced: true + podMonitor: + enabled: true replicas: 2 diff --git a/performance/ceramic-new-streams/simulation.yaml b/performance/ceramic-new-streams/simulation.yaml index 7183dcf..bc65add 100644 --- a/performance/ceramic-new-streams/simulation.yaml +++ b/performance/ceramic-new-streams/simulation.yaml @@ -6,6 +6,6 @@ metadata: namespace: keramik-ceramic-new-streams spec: scenario: ceramic-new-streams - users: 16 - runTime: 20 + users: 20 + runTime: 5 throttleRequests: 100