Loading kubernetes/helm/openslice/files/observability/README.md 0 → 100644 +19 −0 Original line number Diff line number Diff line # Openslice Pod Metrics Dashboard (Grafana) To visualize Kubernetes pod metrics for Openslice, you have two options: ## Option 1: Use Grafana Dashboard ID 1. Open your Grafana instance. 2. Go to **"Import"**. 3. Enter dashboard ID `14350`. 4. Select your Prometheus data source. 5. In the **"namespace"** dropdown, select `openslice`. ## Option 2: Use the Predefined JSON Dashboard 1. Locate the file: `kubernetes/helm/openslice/files/observability/grafana_osl_dashboard.json` 2. In Grafana, go to **"Import"**. 3. Upload or paste the JSON content. 4. This version has the `openslice` namespace already hardcoded — no dropdown selection is needed. No newline at end of file kubernetes/helm/openslice/files/observability/grafana_osl_dashboard.json 0 → 100644 +1084 −0 File added.Preview size limit exceeded, changes collapsed. Show changes kubernetes/helm/openslice/templates/artemis.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ spec: {{- include "openslice.selectorLabels" . | nindent 8 }} annotations: {{- with .Values.artemis.podAnnotations }} {{- toYaml . | nindent 4 }} {{- toYaml . | nindent 8 }} {{- end }} spec: containers: Loading kubernetes/helm/openslice/templates/manoclient.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ spec: {{- include "openslice.selectorLabels" . | nindent 8 }} annotations: {{- with .Values.manoclient.podAnnotations }} {{- toYaml . | nindent 4 }} {{- toYaml . | nindent 8 }} {{- end }} spec: containers: Loading kubernetes/helm/openslice/values.yaml +1 −25 Original line number Diff line number Diff line Loading @@ -114,7 +114,7 @@ spring: oauthClientSecret: secret mysql: storage: 10Gi storage: 100Mi metrico: enabled: true Loading Loading @@ -302,7 +302,6 @@ prometheus: server: prefixURL: "/prometheus" ingress: enabled: false Loading @@ -314,29 +313,6 @@ prometheus: prometheus.io/path: /metrics prometheus.io/port: "9090" serverFiles: prometheus.yml: scrape_configs: - job_name: 'openslice-apps' kubernetes_sd_configs: - role: pod relabel_configs: - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape] action: keep regex: "true" - source_labels: [__meta_kubernetes_pod_label_app] action: keep regex: openslice - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path] action: replace target_label: __metrics_path__ regex: (.+) - source_labels: [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port] action: replace regex: (.+):(?:\d+);(\d+) replacement: ${1}:${2} target_label: __address__ ## Using default values from https://github.com/grafana/helm-charts/blob/main/charts/grafana/values.yaml ## grafana: Loading Loading
kubernetes/helm/openslice/files/observability/README.md 0 → 100644 +19 −0 Original line number Diff line number Diff line # Openslice Pod Metrics Dashboard (Grafana) To visualize Kubernetes pod metrics for Openslice, you have two options: ## Option 1: Use Grafana Dashboard ID 1. Open your Grafana instance. 2. Go to **"Import"**. 3. Enter dashboard ID `14350`. 4. Select your Prometheus data source. 5. In the **"namespace"** dropdown, select `openslice`. ## Option 2: Use the Predefined JSON Dashboard 1. Locate the file: `kubernetes/helm/openslice/files/observability/grafana_osl_dashboard.json` 2. In Grafana, go to **"Import"**. 3. Upload or paste the JSON content. 4. This version has the `openslice` namespace already hardcoded — no dropdown selection is needed. No newline at end of file
kubernetes/helm/openslice/files/observability/grafana_osl_dashboard.json 0 → 100644 +1084 −0 File added.Preview size limit exceeded, changes collapsed. Show changes
kubernetes/helm/openslice/templates/artemis.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ spec: {{- include "openslice.selectorLabels" . | nindent 8 }} annotations: {{- with .Values.artemis.podAnnotations }} {{- toYaml . | nindent 4 }} {{- toYaml . | nindent 8 }} {{- end }} spec: containers: Loading
kubernetes/helm/openslice/templates/manoclient.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ spec: {{- include "openslice.selectorLabels" . | nindent 8 }} annotations: {{- with .Values.manoclient.podAnnotations }} {{- toYaml . | nindent 4 }} {{- toYaml . | nindent 8 }} {{- end }} spec: containers: Loading
kubernetes/helm/openslice/values.yaml +1 −25 Original line number Diff line number Diff line Loading @@ -114,7 +114,7 @@ spring: oauthClientSecret: secret mysql: storage: 10Gi storage: 100Mi metrico: enabled: true Loading Loading @@ -302,7 +302,6 @@ prometheus: server: prefixURL: "/prometheus" ingress: enabled: false Loading @@ -314,29 +313,6 @@ prometheus: prometheus.io/path: /metrics prometheus.io/port: "9090" serverFiles: prometheus.yml: scrape_configs: - job_name: 'openslice-apps' kubernetes_sd_configs: - role: pod relabel_configs: - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape] action: keep regex: "true" - source_labels: [__meta_kubernetes_pod_label_app] action: keep regex: openslice - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path] action: replace target_label: __metrics_path__ regex: (.+) - source_labels: [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port] action: replace regex: (.+):(?:\d+);(\d+) replacement: ${1}:${2} target_label: __address__ ## Using default values from https://github.com/grafana/helm-charts/blob/main/charts/grafana/values.yaml ## grafana: Loading