Skip to content

Commit

Permalink
Add template for HttpCheck alert configuration (#501)
Browse files Browse the repository at this point in the history
* replace hardcoded for: value in alert: HttpCheck
  • Loading branch information
martini-source authored Apr 16, 2024
1 parent 375b45f commit 3d91d54
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ helm repo add appuio https://charts.appuio.ch
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/secret-1.1.0/total)](https://github.com/appuio/charts/releases/tag/secret-1.1.0) | [secret](appuio/secret/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/signalilo-0.12.1/total)](https://github.com/appuio/charts/releases/tag/signalilo-0.12.1) | [signalilo](appuio/signalilo/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/snappass-1.0.0/total)](https://github.com/appuio/charts/releases/tag/snappass-1.0.0) | [snappass](appuio/snappass/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/stardog-0.23.2/total)](https://github.com/appuio/charts/releases/tag/stardog-0.23.2) | [stardog](appuio/stardog/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/stardog-0.24.0/total)](https://github.com/appuio/charts/releases/tag/stardog-0.24.0) | [stardog](appuio/stardog/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/stardog-userrole-operator-0.2.3/total)](https://github.com/appuio/charts/releases/tag/stardog-userrole-operator-0.2.3) | [stardog-userrole-operator](appuio/stardog-userrole-operator/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/trifid-2.0.2/total)](https://github.com/appuio/charts/releases/tag/trifid-2.0.2) | [trifid](appuio/trifid/README.md) |

Expand Down
2 changes: 1 addition & 1 deletion appuio/stardog/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: stardog
version: 0.23.2
version: 0.24.0
appVersion: 9.2.1
description: Stardog is the world’s leading knowledge graph platform for the enterprise. Stardog makes it fast and easy to turn enterprise data into knowledge.
home: "https://www.stardog.com/"
Expand Down
2 changes: 1 addition & 1 deletion appuio/stardog/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# stardog

![Version: 0.23.2](https://img.shields.io/badge/Version-0.23.2-informational?style=flat-square) ![AppVersion: 9.2.1](https://img.shields.io/badge/AppVersion-9.2.1-informational?style=flat-square)
![Version: 0.24.0](https://img.shields.io/badge/Version-0.24.0-informational?style=flat-square) ![AppVersion: 9.2.1](https://img.shields.io/badge/AppVersion-9.2.1-informational?style=flat-square)

Stardog is the world’s leading knowledge graph platform for the enterprise. Stardog makes it fast and easy to turn enterprise data into knowledge.

Expand Down
2 changes: 1 addition & 1 deletion appuio/stardog/templates/monitoring/stardog-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
{{- if .Values.ingress.enabled }}
- alert: HttpCheck
expr: probe_success{instance="https://{{ .Values.ingress.host }}/admin/healthcheck"} != 1
for: 1m
for: {{ default "1m" (((.Values.alerts).httpCheck).for) | quote }}
annotations:
summary: Http check failed
description: "Http check failed on {{ "{{" }} $labels.instance {{ "}}" }}"
Expand Down
4 changes: 3 additions & 1 deletion appuio/stardog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ metrics:
repository: sscaling/jmx-prometheus-exporter
tag: 0.12.0
pullPolicy: IfNotPresent

alerts:
httpCheck:
for:
resources: {}

nodeSelector: {}
Expand Down

0 comments on commit 3d91d54

Please sign in to comment.