Hyunsun Moon | b24bb2b | 2019-11-22 02:11:02 -0800 | [diff] [blame] | 1 | --- |
| 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 | |
| 16 | apiVersion: v1 |
| 17 | kind: ConfigMap |
| 18 | metadata: |
| 19 | name: grafana-dashboards |
| 20 | labels: |
| 21 | grafana_dashboard: "1" |
| 22 | data: |
Shrey Baid | b311fee | 2020-05-22 16:48:00 +0530 | [diff] [blame] | 23 | {{- if .Values.dashboards.etcd }} |
| 24 | etcd.json: | |
| 25 | {{ .Files.Get "grafana-dashboards/etcd-metrics.json" | indent 4 }} |
| 26 | {{- end }} |
Hyunsun Moon | b24bb2b | 2019-11-22 02:11:02 -0800 | [diff] [blame] | 27 | {{- if .Values.dashboards.k8s }} |
| 28 | k8s.json: | |
| 29 | {{ .Files.Get "grafana-dashboards/k8s-app-metrics.json" | indent 4 }} |
Matteo Scandolo | a2c22f7 | 2020-03-24 10:14:01 -0700 | [diff] [blame] | 30 | docker.json: | |
| 31 | {{ .Files.Get "grafana-dashboards/docker-monitoring.json" | indent 4 }} |
Hyunsun Moon | b24bb2b | 2019-11-22 02:11:02 -0800 | [diff] [blame] | 32 | {{- end }} |
| 33 | {{- if .Values.dashboards.nodeExporter }} |
| 34 | node-exporter.json: | |
| 35 | {{ .Files.Get "grafana-dashboards/node-exporter.json" | indent 4 }} |
| 36 | {{- end }} |
| 37 | {{- if .Values.dashboards.xos }} |
| 38 | xos.json: | |
| 39 | {{ .Files.Get "grafana-dashboards/xos.json" | indent 4 }} |
| 40 | {{- end }} |
| 41 | {{- if .Values.dashboards.onos }} |
| 42 | onos.json: | |
| 43 | {{ .Files.Get "grafana-dashboards/onos-kpi.json" | indent 4 }} |
| 44 | {{- end }} |
| 45 | {{- if .Values.dashboards.aaa }} |
| 46 | aaa.json: | |
| 47 | {{ .Files.Get "grafana-dashboards/aaa-stats.json" | indent 4 }} |
| 48 | {{- end }} |
| 49 | {{- if .Values.dashboards.voltha }} |
| 50 | voltha.json: | |
| 51 | {{ .Files.Get "grafana-dashboards/voltha-kpi.json" | indent 4 }} |
| 52 | {{- end }} |
Matteo Scandolo | e0d3caf | 2020-01-10 15:55:56 -0800 | [diff] [blame] | 53 | {{- if .Values.dashboards.voltha2 }} |
| 54 | voltha2.json: | |
| 55 | {{ .Files.Get "grafana-dashboards/voltha-2x.json" | indent 4 }} |
| 56 | {{- end }} |
Hyunsun Moon | b24bb2b | 2019-11-22 02:11:02 -0800 | [diff] [blame] | 57 | {{- if .Values.dashboards.omec }} |
| 58 | omec.json: | |
| 59 | {{ .Files.Get "grafana-dashboards/omec.json" | indent 4 }} |
| 60 | {{- end }} |
Hyunsun Moon | da48dbe | 2020-02-02 13:26:18 -0800 | [diff] [blame] | 61 | {{- if .Values.dashboards.aether }} |
| 62 | multi-site-system.json: | |
| 63 | {{ .Files.Get "grafana-dashboards/multi-site-system.json" | indent 4 }} |
| 64 | multi-site-system-summary.json: | |
| 65 | {{ .Files.Get "grafana-dashboards/multi-site-system-summary.json" | indent 4 }} |
| 66 | multi-site-k8s.json: | |
| 67 | {{ .Files.Get "grafana-dashboards/multi-site-k8s.json" | indent 4 }} |
| 68 | omec-user-plane.json: | |
| 69 | {{ .Files.Get "grafana-dashboards/omec-user-plane.json" | indent 4 }} |
| 70 | omec-user-plane-summary.json: | |
| 71 | {{ .Files.Get "grafana-dashboards/omec-user-plane-summary.json" | indent 4 }} |
| 72 | omec-control-plane.json: | |
| 73 | {{ .Files.Get "grafana-dashboards/omec-control-plane.json" | indent 4 }} |
| 74 | omec-imsi-list.json: | |
| 75 | {{ .Files.Get "grafana-dashboards/omec-imsi-list.json" | indent 4 }} |
Hyunsun Moon | ec123c9 | 2019-11-23 16:11:11 -0800 | [diff] [blame] | 76 | {{- end }} |
Daniele Moro | f6dfb90 | 2020-01-15 15:00:36 -0800 | [diff] [blame] | 77 | {{- if .Values.dashboards.bng }} |
| 78 | bng-dashboard.json: | |
| 79 | {{ .Files.Get "grafana-dashboards/bng-dashboard.json" | indent 4 }} |
| 80 | {{- end }} |
Woojoong Kim | 30dd9cf | 2020-04-27 21:04:43 -0700 | [diff] [blame] | 81 | {{- if .Values.dashboards.sdran }} |
| 82 | sdran-overview.json: | |
| 83 | {{ .Files.Get "grafana-dashboards/sdran-summary.json" | indent 4 }} |
| 84 | {{- end }} |