blob: 84128ab42eda751ce83c203aa8a686b0c28e2c1c [file] [log] [blame]
Hyunsun Moonb24bb2b2019-11-22 02:11:02 -08001---
2# Copyright 2019-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16apiVersion: v1
17kind: ConfigMap
18metadata:
19 name: grafana-dashboards
20 labels:
21 grafana_dashboard: "1"
22data:
23{{- if .Values.dashboards.k8s }}
24 k8s.json: |
25{{ .Files.Get "grafana-dashboards/k8s-app-metrics.json" | indent 4 }}
Matteo Scandoloa2c22f72020-03-24 10:14:01 -070026 docker.json: |
27{{ .Files.Get "grafana-dashboards/docker-monitoring.json" | indent 4 }}
Hyunsun Moonb24bb2b2019-11-22 02:11:02 -080028{{- end }}
29{{- if .Values.dashboards.nodeExporter }}
30 node-exporter.json: |
31{{ .Files.Get "grafana-dashboards/node-exporter.json" | indent 4 }}
32{{- end }}
33{{- if .Values.dashboards.xos }}
34 xos.json: |
35{{ .Files.Get "grafana-dashboards/xos.json" | indent 4 }}
36{{- end }}
37{{- if .Values.dashboards.onos }}
38 onos.json: |
39{{ .Files.Get "grafana-dashboards/onos-kpi.json" | indent 4 }}
40{{- end }}
41{{- if .Values.dashboards.aaa }}
42 aaa.json: |
43{{ .Files.Get "grafana-dashboards/aaa-stats.json" | indent 4 }}
44{{- end }}
45{{- if .Values.dashboards.voltha }}
46 voltha.json: |
47{{ .Files.Get "grafana-dashboards/voltha-kpi.json" | indent 4 }}
48{{- end }}
Matteo Scandoloe0d3caf2020-01-10 15:55:56 -080049{{- if .Values.dashboards.voltha2 }}
50 voltha2.json: |
51{{ .Files.Get "grafana-dashboards/voltha-2x.json" | indent 4 }}
52{{- end }}
Hyunsun Moonb24bb2b2019-11-22 02:11:02 -080053{{- if .Values.dashboards.omec }}
54 omec.json: |
55{{ .Files.Get "grafana-dashboards/omec.json" | indent 4 }}
56{{- end }}
Hyunsun Moonda48dbe2020-02-02 13:26:18 -080057{{- if .Values.dashboards.aether }}
58 multi-site-system.json: |
59{{ .Files.Get "grafana-dashboards/multi-site-system.json" | indent 4 }}
60 multi-site-system-summary.json: |
61{{ .Files.Get "grafana-dashboards/multi-site-system-summary.json" | indent 4 }}
62 multi-site-k8s.json: |
63{{ .Files.Get "grafana-dashboards/multi-site-k8s.json" | indent 4 }}
64 omec-user-plane.json: |
65{{ .Files.Get "grafana-dashboards/omec-user-plane.json" | indent 4 }}
66 omec-user-plane-summary.json: |
67{{ .Files.Get "grafana-dashboards/omec-user-plane-summary.json" | indent 4 }}
68 omec-control-plane.json: |
69{{ .Files.Get "grafana-dashboards/omec-control-plane.json" | indent 4 }}
70 omec-imsi-list.json: |
71{{ .Files.Get "grafana-dashboards/omec-imsi-list.json" | indent 4 }}
Hyunsun Moonec123c92019-11-23 16:11:11 -080072{{- end }}
Daniele Morof6dfb902020-01-15 15:00:36 -080073{{- if .Values.dashboards.bng }}
74 bng-dashboard.json: |
75{{ .Files.Get "grafana-dashboards/bng-dashboard.json" | indent 4 }}
76{{- end }}