Merge branches 'w/2.10/feature/ZENKO-4825-Bump-UI' and 'q/2143/2.9/fe… #2685
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test alerts | |
on: | |
push: | |
branches-ignore: | |
- 'development/**' | |
- 'q/*' | |
jobs: | |
run-alert-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Render and test mongodb alerts | |
uses: scality/[email protected] | |
with: | |
alert_file_path: monitoring/mongodb/alerts.yaml | |
test_file_path: monitoring/mongodb/alerts.test.yaml | |
alert_inputs: | | |
namespace=zenko | |
service=data-db-mongodb-sharded | |
pvc=datadir-mongodb | |
replicas=3 | |
github_token: ${{ secrets.GIT_ACCESS_TOKEN }} | |
- name: Render and test kafka alerts | |
uses: scality/[email protected] | |
with: | |
alert_file_path: monitoring/kafka/alerts.yaml | |
test_file_path: monitoring/kafka/alerts.test.yaml | |
alert_inputs: | | |
namespace=zenko | |
service=artesca-data-base-queue | |
pvc=artesca-data-base-queue | |
cluster=artesca-data-base-queue | |
replicas=3 | |
maxConsumerLagMessagesWarningThreshold=1000 | |
maxConsumerLagSecondsWarningThreshold=300 | |
github_token: ${{ secrets.GIT_ACCESS_TOKEN }} | |
- name: Render and test redis alerts | |
uses: scality/[email protected] | |
with: | |
alert_file_path: monitoring/redis/alerts.yaml | |
test_file_path: monitoring/redis/alerts.test.yaml | |
alert_inputs: | | |
namespace=zenko | |
service=artesca-data-base-cache-metrics | |
github_token: ${{ secrets.GIT_ACCESS_TOKEN }} | |
- name: Render and test zookeeper alerts | |
uses: scality/[email protected] | |
with: | |
alert_file_path: monitoring/zookeeper/alerts.yaml | |
test_file_path: monitoring/zookeeper/alerts.test.yaml | |
alert_inputs: | | |
namespace=zenko | |
service=artesca-data-base-quorum-headless | |
pvc=artesca-data-base-quorum | |
replicas=3 | |
quorum=3 | |
github_token: ${{ secrets.GIT_ACCESS_TOKEN }} | |
- name: Render and test dr alerts | |
uses: scality/[email protected] | |
with: | |
alert_file_path: monitoring/dr/alerts.yaml | |
test_file_path: monitoring/dr/alerts.test.yaml | |
alert_inputs: | | |
namespace=zenko | |
kafka_connect_src_job=artesca-data-dr-source-base-queue-connector-metrics | |
kafka_connect_sink_job=artesca-data-dr-base-queue-connector-metrics | |
dr_sink_instance=artesca-data-dr | |
rto_alert_threshold=30 | |
mongo_jobs=zenko/data-db-mongodb-sharded-shard.* | |
lifecycle_jobs=artesca-data-backbeat-lifecycle-.*-headless | |
github_token: ${{ secrets.GIT_ACCESS_TOKEN }} |