Skip to content

Commit

Permalink
CTO-153: Overwrite strimzi_io_cluster label value with cluster name (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
muzammil360 authored Jul 10, 2024
1 parent 11d6d37 commit 90944a2
Show file tree
Hide file tree
Showing 10 changed files with 131 additions and 95 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
datasources:
- inputName: "DS_PROMETHEUS"
datasourceName: "Prometheus"
url: "https://raw.githubusercontent.com/mojaloop/helm/v${grafana_dashboard_tag}/monitoring/dashboards/mojaloop/dashboard-NodeJSApplication.json"
url: "https://raw.githubusercontent.com/mojaloop/helm/${grafana_dashboard_tag}/monitoring/dashboards/mojaloop/dashboard-NodeJSApplication.json"
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
Expand All @@ -36,7 +36,7 @@ spec:
datasources:
- inputName: "DS_PROMETHEUS"
datasourceName: "Prometheus"
url: "https://raw.githubusercontent.com/mojaloop/helm/v${grafana_dashboard_tag}/monitoring/dashboards/mojaloop/dashboard-account-lookup-service.json"
url: "https://raw.githubusercontent.com/mojaloop/helm/${grafana_dashboard_tag}/monitoring/dashboards/mojaloop/dashboard-account-lookup-service.json"
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
Expand All @@ -51,7 +51,7 @@ spec:
datasources:
- inputName: "DS_PROMETHEUS"
datasourceName: "Prometheus"
url: "https://raw.githubusercontent.com/mojaloop/helm/v${grafana_dashboard_tag}/monitoring/dashboards/mojaloop/dashboard-central-services-characterization.json"
url: "https://raw.githubusercontent.com/mojaloop/helm/${grafana_dashboard_tag}/monitoring/dashboards/mojaloop/dashboard-central-services-characterization.json"
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
Expand All @@ -66,7 +66,7 @@ spec:
datasources:
- inputName: "DS_PROMETHEUS"
datasourceName: "Prometheus"
url: "https://raw.githubusercontent.com/mojaloop/helm/v${grafana_dashboard_tag}/monitoring/dashboards/mojaloop/dashboard-central-services.json"
url: "https://raw.githubusercontent.com/mojaloop/helm/${grafana_dashboard_tag}/monitoring/dashboards/mojaloop/dashboard-central-services.json"
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
Expand All @@ -81,7 +81,7 @@ spec:
datasources:
- inputName: "DS_PROMETHEUS"
datasourceName: "Prometheus"
url: "https://raw.githubusercontent.com/mojaloop/helm/v${grafana_dashboard_tag}/monitoring/dashboards/mojaloop/dashboard-ml-adapter.json"
url: "https://raw.githubusercontent.com/mojaloop/helm/${grafana_dashboard_tag}/monitoring/dashboards/mojaloop/dashboard-ml-adapter.json"
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
Expand All @@ -96,7 +96,7 @@ spec:
datasources:
- inputName: "DS_PROMETHEUS"
datasourceName: "Prometheus"
url: "https://raw.githubusercontent.com/mojaloop/helm/v${grafana_dashboard_tag}/monitoring/dashboards/mojaloop/dashboard-simulators.json"
url: "https://raw.githubusercontent.com/mojaloop/helm/${grafana_dashboard_tag}/monitoring/dashboards/mojaloop/dashboard-simulators.json"
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
Expand All @@ -111,7 +111,7 @@ spec:
datasources:
- inputName: "DS_PROMETHEUS"
datasourceName: "Prometheus"
url: "https://raw.githubusercontent.com/mojaloop/helm/v${grafana_dashboard_tag}/monitoring/dashboards/mojaloop/dashboard-quoting-service.json"
url: "https://raw.githubusercontent.com/mojaloop/helm/${grafana_dashboard_tag}/monitoring/dashboards/mojaloop/dashboard-quoting-service.json"
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
Expand All @@ -126,5 +126,5 @@ spec:
datasources:
- inputName: "DS_PROMETHEUS"
datasourceName: "Prometheus"
url: "https://raw.githubusercontent.com/mojaloop/helm/v${grafana_dashboard_tag}/monitoring/dashboards/mojaloop/dashboard-performance-troubleshooting.json"
url: "https://raw.githubusercontent.com/mojaloop/helm/${grafana_dashboard_tag}/monitoring/dashboards/mojaloop/dashboard-performance-troubleshooting.json"
---
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
instanceSelector:
matchLabels:
dashboards: "grafana"
url: "https://raw.githubusercontent.com/mojaloop/helm/v${grafana_dashboard_tag}/monitoring/dashboards/datastore/dashboard-mysql-exporter-quickstart.json"
url: "https://raw.githubusercontent.com/mojaloop/helm/${grafana_dashboard_tag}/monitoring/dashboards/datastore/dashboard-mysql-exporter-quickstart.json"
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
Expand All @@ -37,7 +37,7 @@ spec:
instanceSelector:
matchLabels:
dashboards: "grafana"
url: "https://raw.githubusercontent.com/mojaloop/helm/v${grafana_dashboard_tag}/monitoring/dashboards/datastore/dashboard-redis-exporter-quickstart.json"
url: "https://raw.githubusercontent.com/mojaloop/helm/${grafana_dashboard_tag}/monitoring/dashboards/datastore/dashboard-redis-exporter-quickstart.json"
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
Expand All @@ -51,7 +51,7 @@ spec:
instanceSelector:
matchLabels:
dashboards: "grafana"
url: "https://raw.githubusercontent.com/mojaloop/helm/v${grafana_dashboard_tag}/monitoring/dashboards/messaging/dashboard-kafka-topic-overview.json"
url: "https://raw.githubusercontent.com/mojaloop/helm/${grafana_dashboard_tag}/monitoring/dashboards/messaging/dashboard-kafka-topic-overview.json"
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
Expand All @@ -65,7 +65,7 @@ spec:
instanceSelector:
matchLabels:
dashboards: "grafana"
url: "https://raw.githubusercontent.com/mojaloop/helm/v${grafana_dashboard_tag}/monitoring/dashboards/messaging/dashboard-kafka-cluster-overview.json"
url: "https://raw.githubusercontent.com/mojaloop/helm/${grafana_dashboard_tag}/monitoring/dashboards/messaging/dashboard-kafka-cluster-overview.json"
---

apiVersion: grafana.integreatly.org/v1beta1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,7 @@ spec:
instanceSelector:
matchLabels:
dashboards: "grafana"
url: "https://raw.githubusercontent.com/mojaloop/helm/v16.0.0-snapshot.6/monitoring/dashboards/kubernetes/kubernetes-monitoring-dashboard.json"
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
name: k8s-addons-prometheus
spec:
folder: kubernetes
instanceSelector:
matchLabels:
dashboards: "grafana"
datasources:
- inputName: "DS_PROMETHEUS"
datasourceName: "Prometheus"
grafanaCom:
id: 19105
revision: 3
url: "https://raw.githubusercontent.com/mojaloop/helm/${grafana_dashboard_tag}/monitoring/dashboards/kubernetes/kubernetes-monitoring-dashboard.json"
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
name: k8s-addons-prometheus
spec:
folder: monitoring
instanceSelector:
matchLabels:
dashboards: "grafana"
datasources:
- inputName: "DS_PROMETHEUS"
datasourceName: "Prometheus"
grafanaCom:
id: 19105
revision: 3
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
name: prometheus-overview
spec:
folder: monitoring
datasources:
- inputName: "DS_PROMETHEUS"
datasourceName: "Prometheus"
instanceSelector:
matchLabels:
dashboards: "grafana"
url: "https://raw.githubusercontent.com/monitoring-mixins/website/master/assets/prometheus/dashboards/prometheus.json"
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
name: mojaloop-prometheus-remote-write
spec:
folder: monitoring
datasources:
- inputName: "DS_PROMETHEUS"
datasourceName: "Prometheus"
instanceSelector:
matchLabels:
dashboards: "grafana"
url: "https://raw.githubusercontent.com/mojaloop/helm/${grafana_dashboard_tag}/monitoring/dashboards/infrastructure/prometheus-remote-write.json"
---
2 changes: 1 addition & 1 deletion terraform/gitops/k8s-cluster-config/monitoring.tf
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ locals {
prometheus_process_exporter_version = "0.4.2"
tempo_chart_version = "3.1.0"
grafana_version = "10.2.3"
grafana_dashboard_tag = "16.3.0-snapshot.17" # TODO: update once v16.1.x is published
grafana_dashboard_tag = "v16.3.0-snapshot.17" # TODO: update once v16.1.x is published
grafana_operator_version = "3.5.11"
monitoring_template_path = "${path.module}/../generate-files/templates/monitoring"
monitoring_app_file = "monitoring-app.yaml"
Expand Down
Loading

0 comments on commit 90944a2

Please sign in to comment.