From af851c803ccf22d41dc9b5083d59067aa7a37459 Mon Sep 17 00:00:00 2001 From: Andreas Gruhler Date: Mon, 4 Dec 2023 17:28:02 +0100 Subject: [PATCH] fix: duration in alert description --- charts/vault-monitoring/values.yaml | 8 ++++---- hack/helm-docs.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/vault-monitoring/values.yaml b/charts/vault-monitoring/values.yaml index 49ceacf9c..59e31dec1 100644 --- a/charts/vault-monitoring/values.yaml +++ b/charts/vault-monitoring/values.yaml @@ -89,7 +89,7 @@ prometheusRules: severity: critical annotations: summary: High frequency of failed Vault requests - description: There has been an increased number of failed Vault requests in the last 15 minutes + description: There has been an increased number of failed Vault requests in the last 20 minutes - alert: VaultResponseFailures expr: increase(vault_audit_log_response_failure[5m]) > 0 for: 15m @@ -97,7 +97,7 @@ prometheusRules: severity: critical annotations: summary: High frequency of failed Vault responses - description: There has been an increased number of failed Vault responses in the last 15 minutes + description: There has been an increased number of failed Vault responses in the last 20 minutes - alert: VaultTokenCreate expr: increase(vault_token_create_count[5m]) > 100 for: 15m @@ -105,7 +105,7 @@ prometheusRules: severity: critical annotations: summary: High frequency of created Vault token - description: There has been an increased number of Vault token creation in the last 15 minutes + description: There has been an increased number of Vault token creation in the last 20 minutes - alert: VaultTokenStore expr: increase(vault_token_store_count[5m]) > 100 for: 15m @@ -113,4 +113,4 @@ prometheusRules: severity: critical annotations: summary: High frequency of stored Vault token - description: There has been an increased number of Vault token storing in the last 15 minutes + description: There has been an increased number of Vault token storing in the last 20 minutes diff --git a/hack/helm-docs.sh b/hack/helm-docs.sh index caa270a18..cb13d76da 100755 --- a/hack/helm-docs.sh +++ b/hack/helm-docs.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # wrapper to call helm-docs