mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-28 10:18:42 +00:00
Fix vmrules to process memory metrics (#289)
This PR fixes memory charts, fixes https://github.com/aenix-io/cozystack/issues/285  Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
This commit is contained in:
@@ -3,4 +3,4 @@ name: monitoring
|
||||
description: Monitoring and observability stack
|
||||
icon: /logos/monitoring.svg
|
||||
type: application
|
||||
version: 1.2.1
|
||||
version: 1.2.2
|
||||
|
||||
@@ -1,18 +1,21 @@
|
||||
{{- range .Values.metricsStorages }}
|
||||
---
|
||||
apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMAlert
|
||||
metadata:
|
||||
name: vmalert
|
||||
name: vmalert-{{ .name }}
|
||||
spec:
|
||||
datasource:
|
||||
url: http://vmselect-vmcluster.{{ .Release.Namespace }}.svc:8481/select/0/prometheus
|
||||
url: http://vmselect-{{ .name }}.{{ $.Release.Namespace }}.svc:8481/select/0/prometheus
|
||||
evaluationInterval: 15s
|
||||
extraArgs:
|
||||
remoteWrite.disablePathAppend: "true"
|
||||
notifiers:
|
||||
- url: http://vmalertmanager.{{ .Release.Namespace }}.svc:9093
|
||||
- url: http://vmalertmanager.{{ $.Release.Namespace }}.svc:9093
|
||||
remoteRead:
|
||||
url: http://vmselect-shortterm.{{ .Release.Namespace }}.svc:8481/select/0/prometheus
|
||||
url: http://vmselect-{{ .name }}.{{ $.Release.Namespace }}.svc:8481/select/0/prometheus
|
||||
remoteWrite:
|
||||
url: http://vminsert-shortterm.{{ .Release.Namespace }}.svc:8480/insert/0/prometheus/api/v1/write
|
||||
url: http://vminsert-{{ .name }}.{{ $.Release.Namespace }}.svc:8480/insert/0/prometheus/api/v1/write
|
||||
resources: {}
|
||||
selectAllByDefault: true
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user