blob: 6d9220e31cd1f78b0134d214cc6d48b1eb8af193 [file] [log] [blame]
Matteo Scandolod28ec7b2018-08-21 12:58:04 -07001---
2# Copyright 2018-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
Luca Prete9ca8aea2018-11-14 14:53:51 -080016global:
17 registry: ''
18
19images:
Ganesh Bhure8c7221b2019-08-13 15:59:34 +053020 kpi_exporter:
Luca Prete9ca8aea2018-11-14 14:53:51 -080021 repository: 'opencord/kafka-topic-exporter'
Scott Baker86170b02019-07-03 10:10:03 -070022 tag: '1.2.3'
Luca Prete9ca8aea2018-11-14 14:53:51 -080023 pullPolicy: 'Always'
24
Ganesh Bhure8c7221b2019-08-13 15:59:34 +053025kpi_exporter:
26 nem_kpi_exporter_nodePort: 31080
27 nem_kpi_exporter_replicas: 2
28 kpi_broker: cord-kafka:9092
Hyunsun Moonb24bb2b2019-11-22 02:11:02 -080029 topics:
Ganesh Bhure8c7221b2019-08-13 15:59:34 +053030 - voltha.kpis
31 - onos.aaa.stats.kpis
32 - onos.kpis
Matteo Scandolod28ec7b2018-08-21 12:58:04 -070033
34prometheus:
35 alertmanager:
36 persistentVolume:
37 enabled: false
38 server:
39 persistentVolume:
40 enabled: false
41 service:
42 type: NodePort
43 nodePort: 31301
Hyunsun Moonb24bb2b2019-11-22 02:11:02 -080044 # The labels to add to any time series or alerts when communicating with
45 # external systems (federation, remote storage, Alertmanager).
46 #global:
47 # external_labels:
48 # datacenter: onf-menlo
Matteo Scandolod28ec7b2018-08-21 12:58:04 -070049
Hyunsun Moonb24bb2b2019-11-22 02:11:02 -080050 extraScrapeConfigs: |
51 - job_name: 'xos-core'
52 metrics_path: /metrics
53 scrape_interval: 15s
54 static_configs:
55 - targets:
56 - xos-core-prometheus:8000
57 - job_name: 'voltha-kpi'
58 metrics_path: /metrics
59 scrape_interval: 15s
60 static_configs:
61 - targets:
62 - kpi-exporter:8080
63 - job_name: 'node-exporter'
64 metrics_path: /metrics
65 scrape_interval: 15s
66 static_configs:
67 - targets:
68 - nem-monitoring-prometheus-node-exporter:9100
Matteo Scandolod28ec7b2018-08-21 12:58:04 -070069
70grafana:
71 adminUser: admin
72 adminPassword: strongpassword
73 service:
74 type: NodePort
75 nodePort: 31300
76 sidecar:
77 dashboards:
78 enabled: true
79 label: grafana_dashboard
80 datasources:
81 datasources.yaml:
82 apiVersion: 1
83 datasources:
84 - name: Prometheus
85 type: prometheus
Hyunsun Moonb24bb2b2019-11-22 02:11:02 -080086 url: http://nem-monitoring-prometheus-server
Matteo Scandolod28ec7b2018-08-21 12:58:04 -070087 access: proxy
Luca Prete9ca8aea2018-11-14 14:53:51 -080088 isDefault: true
Hyunsun Moonb24bb2b2019-11-22 02:11:02 -080089
90# Configure Grafana dashboard to import
91dashboards:
92 k8s: true
93 nodeExporter: true
94 xos: true
95 onos: true
96 aaa: true
97 voltha: true
98 omec: false