| --- |
| # Copyright 2019-present Open Networking Foundation |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| apiVersion: v1 |
| kind: ConfigMap |
| metadata: |
| name: grafana-dashboards |
| labels: |
| grafana_dashboard: "1" |
| data: |
| {{- if .Values.dashboards.etcd }} |
| etcd.json: | |
| {{ .Files.Get "grafana-dashboards/etcd-metrics.json" | indent 4 }} |
| {{- end }} |
| {{- if .Values.dashboards.k8s }} |
| k8s.json: | |
| {{ .Files.Get "grafana-dashboards/k8s-app-metrics.json" | indent 4 }} |
| docker.json: | |
| {{ .Files.Get "grafana-dashboards/docker-monitoring.json" | indent 4 }} |
| {{- end }} |
| {{- if .Values.dashboards.nodeExporter }} |
| node-exporter.json: | |
| {{ .Files.Get "grafana-dashboards/node-exporter.json" | indent 4 }} |
| {{- end }} |
| {{- if .Values.dashboards.xos }} |
| xos.json: | |
| {{ .Files.Get "grafana-dashboards/xos.json" | indent 4 }} |
| {{- end }} |
| {{- if .Values.dashboards.onos }} |
| onos.json: | |
| {{ .Files.Get "grafana-dashboards/onos-kpi.json" | indent 4 }} |
| {{- end }} |
| {{- if .Values.dashboards.aaa }} |
| aaa.json: | |
| {{ .Files.Get "grafana-dashboards/aaa-stats.json" | indent 4 }} |
| {{- end }} |
| {{- if .Values.dashboards.voltha }} |
| voltha.json: | |
| {{ .Files.Get "grafana-dashboards/voltha-kpi.json" | indent 4 }} |
| {{- end }} |
| {{- if .Values.dashboards.voltha2 }} |
| voltha2.json: | |
| {{ .Files.Get "grafana-dashboards/voltha-2x.json" | indent 4 }} |
| {{- end }} |
| {{- if .Values.dashboards.omec }} |
| omec.json: | |
| {{ .Files.Get "grafana-dashboards/omec.json" | indent 4 }} |
| {{- end }} |
| {{- if .Values.dashboards.aether }} |
| multi-site-system.json: | |
| {{ .Files.Get "grafana-dashboards/multi-site-system.json" | indent 4 }} |
| multi-site-system-summary.json: | |
| {{ .Files.Get "grafana-dashboards/multi-site-system-summary.json" | indent 4 }} |
| multi-site-k8s.json: | |
| {{ .Files.Get "grafana-dashboards/multi-site-k8s.json" | indent 4 }} |
| omec-user-plane.json: | |
| {{ .Files.Get "grafana-dashboards/omec-user-plane.json" | indent 4 }} |
| omec-user-plane-summary.json: | |
| {{ .Files.Get "grafana-dashboards/omec-user-plane-summary.json" | indent 4 }} |
| omec-control-plane.json: | |
| {{ .Files.Get "grafana-dashboards/omec-control-plane.json" | indent 4 }} |
| omec-imsi-list.json: | |
| {{ .Files.Get "grafana-dashboards/omec-imsi-list.json" | indent 4 }} |
| {{- end }} |
| {{- if .Values.dashboards.bng }} |
| bng-dashboard.json: | |
| {{ .Files.Get "grafana-dashboards/bng-dashboard.json" | indent 4 }} |
| {{- end }} |
| {{- if .Values.dashboards.sdran }} |
| sdran-overview.json: | |
| {{ .Files.Get "grafana-dashboards/sdran-summary.json" | indent 4 }} |
| sdran-ho-detail.json: | |
| {{ .Files.Get "grafana-dashboards/sdran-ho-detail.json" | indent 4 }} |
| sdran-mlb-detail.json: | |
| {{ .Files.Get "grafana-dashboards/sdran-mlb-detail.json" | indent 4 }} |
| {{- end }} |