mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-21 12:13:55 +09: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:
1 parent
a120ce726e
commit
4471b4ba2a
2 files changed
+9
-6
No files matched your search
@@ -3,4 +3,4 @@ name: monitoring
|
|||||||
description: Monitoring and observability stack
|
description: Monitoring and observability stack
|
||||||
icon: /logos/monitoring.svg
|
icon: /logos/monitoring.svg
|
||||||
type: application
|
type: application
|
||||||
version: 1.2.1
|
version: 1.2.2
|
||||||
@@ -1,18 +1,21 @@
|
|||||||
|
{{- range .Values.metricsStorages }}
|
||||||
|
---
|
||||||
apiVersion: operator.victoriametrics.com/v1beta1
|
apiVersion: operator.victoriametrics.com/v1beta1
|
||||||
kind: VMAlert
|
kind: VMAlert
|
||||||
metadata:
|
metadata:
|
||||||
name: vmalert
|
name: vmalert-{{ .name }}
|
||||||
spec:
|
spec:
|
||||||
datasource:
|
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
|
evaluationInterval: 15s
|
||||||
extraArgs:
|
extraArgs:
|
||||||
remoteWrite.disablePathAppend: "true"
|
remoteWrite.disablePathAppend: "true"
|
||||||
notifiers:
|
notifiers:
|
||||||
- url: http://vmalertmanager.{{ .Release.Namespace }}.svc:9093
|
- url: http://vmalertmanager.{{ $.Release.Namespace }}.svc:9093
|
||||||
remoteRead:
|
remoteRead:
|
||||||
url: http://vmselect-shortterm.{{ .Release.Namespace }}.svc:8481/select/0/prometheus
|
url: http://vmselect-{{ .name }}.{{ $.Release.Namespace }}.svc:8481/select/0/prometheus
|
||||||
remoteWrite:
|
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: {}
|
resources: {}
|
||||||
selectAllByDefault: true
|
selectAllByDefault: true
|
||||||
|
{{- end }}
|
||||||
Reference in new issue
Block a user