mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-03-21 06:41:12 +00:00
fix monitoring hub
This commit is contained in:
1
TODO
1
TODO
@@ -25,3 +25,4 @@ docs: where to store talosconfig
|
||||
how to version helm charts
|
||||
autombump chart versions for system charts
|
||||
recursive namespace deletion
|
||||
move icons to repo
|
||||
|
||||
@@ -1,2 +1,6 @@
|
||||
apiVersion: v2
|
||||
name: monitoring-hub
|
||||
version: 0.0.0
|
||||
description: Monitoring and observability stack
|
||||
icon: https://www.svgrepo.com/download/184787/analytics-laptop.svg
|
||||
type: application
|
||||
version: 0.1.1
|
||||
|
||||
@@ -5,7 +5,7 @@ apiVersion: grafana.integreatly.org/v1beta1
|
||||
kind: GrafanaDashboard
|
||||
metadata:
|
||||
name: {{ $parts._0 }}-{{ $parts._1 }}
|
||||
namespace: cozy-monitoring-hub
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
folder: {{ $parts._0 }}
|
||||
instanceSelector:
|
||||
|
||||
@@ -11,7 +11,7 @@ spec:
|
||||
name: vm-longterm
|
||||
type: prometheus
|
||||
access: proxy
|
||||
url: http://vmselect-vmcluster-longterm.cozy-monitoring-hub.svc:8481/longterm/select/0/prometheus/
|
||||
url: http://vmselect-vmcluster-longterm.{{ .Release.Namespace }}.svc:8481/longterm/select/0/prometheus/
|
||||
isDefault: false
|
||||
jsonData:
|
||||
'tlsSkipVerify': true
|
||||
|
||||
@@ -11,7 +11,7 @@ spec:
|
||||
name: vm
|
||||
type: prometheus
|
||||
access: proxy
|
||||
url: http://vmselect-vmcluster.cozy-monitoring-hub.svc:8481/select/0/prometheus/
|
||||
url: http://vmselect-vmcluster.{{ .Release.Namespace }}.svc:8481/select/0/prometheus/
|
||||
isDefault: true
|
||||
jsonData:
|
||||
'tlsSkipVerify': true
|
||||
|
||||
@@ -3,7 +3,7 @@ apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMServiceScrape
|
||||
metadata:
|
||||
name: vmalert-vmalert
|
||||
namespace: cozy-monitoring-hub
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
endpoints:
|
||||
- path: /metrics
|
||||
|
||||
@@ -2,18 +2,18 @@ apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMAlert
|
||||
metadata:
|
||||
name: vmalert
|
||||
namespace: cozy-monitoring-hub
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
datasource:
|
||||
url: http://vmselect-vmcluster.cozy-monitoring-hub.svc:8481/select/0/prometheus
|
||||
url: http://vmselect-vmcluster.{{ .Release.Namespace }}.svc:8481/select/0/prometheus
|
||||
evaluationInterval: 15s
|
||||
extraArgs:
|
||||
remoteWrite.disablePathAppend: "true"
|
||||
notifiers:
|
||||
- url: http://vmalertmanager-alertmanager.cozy-monitoring-hub.svc:9093
|
||||
- url: http://vmalertmanager-alertmanager.{{ .Release.Namespace }}.svc:9093
|
||||
remoteRead:
|
||||
url: http://vmselect-vmcluster.cozy-monitoring-hub.svc:8481/select/0/prometheus
|
||||
url: http://vmselect-vmcluster.{{ .Release.Namespace }}.svc:8481/select/0/prometheus
|
||||
remoteWrite:
|
||||
url: http://vminsert-vmcluster.cozy-monitoring-hub.svc:8480/insert/0/prometheus/api/v1/write
|
||||
url: http://vminsert-vmcluster.{{ .Release.Namespace }}.svc:8480/insert/0/prometheus/api/v1/write
|
||||
resources: {}
|
||||
selectAllByDefault: true
|
||||
|
||||
@@ -18,7 +18,7 @@ stringData:
|
||||
receivers:
|
||||
- name: 'webhook'
|
||||
webhook_configs:
|
||||
- url: http://grafana-oncall-engine.cozy-monitoring-hub.svc:8080/integrations/v1/alertmanager/Kjb2NWxxSlgGtxz9F4ihovQBB/
|
||||
- url: http://grafana-oncall-engine.{{ .Release.Namespace }}.svc:8080/integrations/v1/alertmanager/Kjb2NWxxSlgGtxz9F4ihovQBB/
|
||||
---
|
||||
apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMAlertmanager
|
||||
|
||||
@@ -3,7 +3,7 @@ apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMServiceScrape
|
||||
metadata:
|
||||
name: vmstorage-vmcluster-longterm
|
||||
namespace: cozy-monitoring-hub
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
endpoints:
|
||||
- path: /metrics
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMCluster
|
||||
metadata:
|
||||
name: vmcluster-longterm
|
||||
namespace: cozy-monitoring-hub
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
replicationFactor: 2
|
||||
retentionPeriod: "14"
|
||||
|
||||
@@ -3,7 +3,7 @@ apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMServiceScrape
|
||||
metadata:
|
||||
name: vminsert-vmcluster
|
||||
namespace: cozy-monitoring-hub
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
endpoints:
|
||||
- path: /metrics
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMCluster
|
||||
metadata:
|
||||
name: vmcluster
|
||||
namespace: cozy-monitoring-hub
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
replicationFactor: 2
|
||||
retentionPeriod: "3"
|
||||
|
||||
@@ -1,11 +1,3 @@
|
||||
_helm:
|
||||
name: monitoring-hub
|
||||
namespace: cozy-monitoring-hub
|
||||
createNamespace: true
|
||||
dependsOn:
|
||||
- name: grafana-operator
|
||||
- name: postgres-operator
|
||||
|
||||
adminPassword: Moh4ooN9phaech6Sai9aoGiezu4doh2i # TODO
|
||||
|
||||
oncall:
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
http-balancer 0.1.0 HEAD
|
||||
kubernetes 0.1.0 HEAD
|
||||
monitoring-hub 0.0.0 HEAD
|
||||
monitoring-hub 0.0.0 44a755d
|
||||
monitoring-hub 0.1.1 HEAD
|
||||
mysql 0.1.0 HEAD
|
||||
postgres 0.1.0 HEAD
|
||||
rabbitmq 0.1.0 HEAD
|
||||
|
||||
Reference in New Issue
Block a user