diff --git a/manifests/alertmanager/monitoring.yaml b/manifests/alertmanager/monitoring.yaml new file mode 100644 index 0000000..b537325 --- /dev/null +++ b/manifests/alertmanager/monitoring.yaml @@ -0,0 +1,15 @@ +enabled: true +app: alertmanager +uptime_kuma: + enabled: true + url: https://alertmanager.dvirlabs.com + tag: observability-stack +external_check: + url: https://alertmanager.dvirlabs.com + expected_codes: + '502': critical + '404': warning + '1033': critical +# targets: +# - : +# scheme: http diff --git a/manifests/grafana/monitoring.yaml b/manifests/grafana/monitoring.yaml new file mode 100644 index 0000000..4c6edd8 --- /dev/null +++ b/manifests/grafana/monitoring.yaml @@ -0,0 +1,15 @@ +enabled: true +app: grafana +uptime_kuma: + enabled: true + url: https://grafana.dvirlabs.com + tag: observability-stack +external_check: + url: https://grafana.dvirlabs.com + expected_codes: + '502': critical + '404': warning + '1033': critical +# targets: +# - : +# scheme: http diff --git a/manifests/kibana-int/monitoring.yaml b/manifests/kibana-int/monitoring.yaml new file mode 100644 index 0000000..2df027f --- /dev/null +++ b/manifests/kibana-int/monitoring.yaml @@ -0,0 +1,15 @@ +enabled: true +app: kibana-int +uptime_kuma: + enabled: true + url: https://kibana-int.dvirlabs.com + tag: observability-stack +external_check: + url: https://kibana-int.dvirlabs.com + expected_codes: + '502': critical + '404': warning + '1033': critical +# targets: +# - : +# scheme: http diff --git a/manifests/kibana/monitoring.yaml b/manifests/kibana/monitoring.yaml new file mode 100644 index 0000000..4b4727e --- /dev/null +++ b/manifests/kibana/monitoring.yaml @@ -0,0 +1,15 @@ +enabled: true +app: kibana +uptime_kuma: + enabled: true + url: https://kibana.dvirlabs.com + tag: observability-stack +external_check: + url: https://kibana.dvirlabs.com + expected_codes: + '502': critical + '404': warning + '1033': critical +# targets: +# - : +# scheme: http diff --git a/manifests/kuma/monitoring.yaml b/manifests/kuma/monitoring.yaml new file mode 100644 index 0000000..98dd111 --- /dev/null +++ b/manifests/kuma/monitoring.yaml @@ -0,0 +1,15 @@ +enabled: true +app: kuma +uptime_kuma: + enabled: true + url: https://kuma.dvirlabs.com + tag: observability-stack +external_check: + url: https://kuma.dvirlabs.com + expected_codes: + '502': critical + '404': warning + '1033': critical +# targets: +# - : +# scheme: http diff --git a/manifests/prometheus-int/monitoring.yaml b/manifests/prometheus-int/monitoring.yaml new file mode 100644 index 0000000..37ce350 --- /dev/null +++ b/manifests/prometheus-int/monitoring.yaml @@ -0,0 +1,15 @@ +enabled: true +app: prometheus-int +uptime_kuma: + enabled: true + url: https://prometheus-int.dvirlabs.com + tag: observability-stack +external_check: + url: https://prometheus-int.dvirlabs.com + expected_codes: + '502': critical + '404': warning + '1033': critical +# targets: +# - : +# scheme: http diff --git a/manifests/prometheus-scrape-secret/additional-scrape-configs.yaml b/manifests/prometheus-scrape-secret/additional-scrape-configs.yaml index 5935c0e..942c469 100644 --- a/manifests/prometheus-scrape-secret/additional-scrape-configs.yaml +++ b/manifests/prometheus-scrape-secret/additional-scrape-configs.yaml @@ -7,25 +7,13 @@ metadata: app.kubernetes.io/name: prometheus type: Opaque stringData: - additional-scrape-configs.yaml: | + additional-scrape-configs.yaml: |+ # This content will be auto-updated by the pipeline - job_name: harbor static_configs: - targets: - harbor-core.dev-tools.svc.cluster.local:8001 - - job_name: vault - static_configs: - - targets: - - vault.dev-tools.svc.cluster.local:8200 - metrics_path: /v1/sys/metrics - scheme: http - - job_name: woodpecker - static_configs: - - targets: - - woodpecker.dev-tools.svc.cluster.local:9000 - bearer_token: prometheusmetricstoken - scheme: https - job_name: gitea static_configs: - targets: diff --git a/manifests/prometheus/monitoring.yaml b/manifests/prometheus/monitoring.yaml new file mode 100644 index 0000000..145b3d7 --- /dev/null +++ b/manifests/prometheus/monitoring.yaml @@ -0,0 +1,15 @@ +enabled: true +app: prometheus +uptime_kuma: + enabled: true + url: https://prometheus.dvirlabs.com + tag: observability-stack +external_check: + url: https://prometheus.dvirlabs.com + expected_codes: + '502': critical + '404': warning + '1033': critical +# targets: +# - : +# scheme: http