Skip to content

Commit

Permalink
feat(vault): Add new alert for vault (#1297)
Browse files Browse the repository at this point in the history
* feat(vault): Add new alert for vault

Signed-off-by: Iago Santos Pardo <iago.santos.pardo@adfinis.com>
  • Loading branch information
isantospardo authored Aug 15, 2024
1 parent 0788b48 commit 44f1ceb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
6 changes: 3 additions & 3 deletions charts/vault-monitoring/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: vault-monitoring
description: monitor your vault server from within Kubernetes' prometheus
type: application
version: 0.3.1
version: 0.4.0
home: https://github.com/adfinis/helm-charts/tree/main/charts/vault-monitoring
sources:
- https://github.com/adfinis/helm-charts/tree/main/charts/vault-monitoring
Expand All @@ -12,5 +12,5 @@ maintainers:
url: https://adfinis.com
annotations:
artifacthub.io/changes: |
- kind: changed
description: "make bearerTokenFile toggleable"
- kind: added
description: "Add new metric for vault"
2 changes: 1 addition & 1 deletion charts/vault-monitoring/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions charts/vault-monitoring/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,13 @@ prometheusRules:
annotations:
summary: High frequency of stored Vault token
description: There has been an increased number of Vault token storing in the last 15 minutes
- alert: VaultLowFailureTolerance
expr: vault_autopilot_failure_tolerance == 0
for: 5m
labels:
severity: critical
annotations:
summary: "Vault Raft Cluster Failure Tolerance Critical on {{ $labels.instance }}"
description: >
"Vault Raft cluster on {{ $labels.instance }} has a failure tolerance of 0. Any further node
failure could result in loss of quorum and make the cluster unavailable."

0 comments on commit 44f1ceb

Please sign in to comment.