blob: edea2a57f680855f0d068882d8fe4b1a7041c53d [file] [log] [blame]
Luca Prete653e5f42018-12-13 14:32:01 -08001---
2# Copyright 2017-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.
Matteo Scandolo374ec7a2018-12-17 11:19:44 -080015
16xos-core:
17 platformKafka: cord-platform-kafka:9092
Zack Williams0db3be22019-07-02 16:57:18 -070018
Matteo Scandolo374ec7a2018-12-17 11:19:44 -080019 xos-gui:
20 platformKafka: cord-platform-kafka:9092
21
Zack Williams586dbab2018-12-21 10:51:52 -070022onos:
23 log_agent:
24 kafka_brokers: ['cord-platform-kafka:9092']
25
Matteo Scandolo374ec7a2018-12-17 11:19:44 -080026nem-monitoring:
Hyunsun Moon52e5ad92019-10-02 20:28:56 -050027 kpi_exporter:
28 kpi_broker: cord-platform-kafka:9092
Zack Williams0db3be22019-07-02 16:57:18 -070029
Hyunsun Moon13e3fa52019-11-30 23:20:03 -080030 extraScrapeConfigs: |
31 - job_name: 'xos-core'
32 metrics_path: /metrics
33 scrape_interval: 15s
34 static_configs:
35 - targets:
36 - xos-core-prometheus:8000
37 - job_name: 'nem-kpi-exporter'
38 metrics_path: /metrics
39 scrape_interval: 15s
40 static_configs:
41 - targets:
42 - cord-platform-nem-kpi-exporter:8080
43 - job_name: 'node-exporter'
44 metrics_path: /metrics
45 scrape_interval: 15s
46 static_configs:
47 - targets:
48 - cord-platform-prometheus-node-exporter:9100
49
Matteo Scandolo374ec7a2018-12-17 11:19:44 -080050 grafana:
51 datasources:
52 datasources.yaml:
53 apiVersion: 1
54 datasources:
55 - name: Prometheus
56 type: prometheus
Hyunsun Moon13e3fa52019-11-30 23:20:03 -080057 url: http://cord-platform-prometheus-server
Matteo Scandolo374ec7a2018-12-17 11:19:44 -080058 access: proxy
59 isDefault: true
60
61logging:
62 kibana:
63 env:
64 ELASTICSEARCH_URL: "http://cord-platform-elasticsearch-client:9200"
Zack Williams0db3be22019-07-02 16:57:18 -070065
Matteo Scandolo374ec7a2018-12-17 11:19:44 -080066 elasticsearch:
67 cluster:
68 env:
69 MINIMUM_MASTER_NODES: "1"
70 client:
71 replicas: 1
72 master:
73 replicas: 2
74 persistence:
75 enabled: false
76 data:
77 replicas: 1
78 persistence:
79 enabled: false
Zack Williams0db3be22019-07-02 16:57:18 -070080
Matteo Scandolo374ec7a2018-12-17 11:19:44 -080081 logstash:
82 elasticsearch:
83 host: "cord-platform-elasticsearch-client"
84 inputs:
85 main: |-
86 input {
87 kafka {
88 auto_offset_reset => "earliest" # get all previous items from new topics
89 bootstrap_servers => "cord-platform-kafka:9092"
90 client_id => "logstash_ck"
91 codec => json { charset => "UTF-8" }
92 consumer_threads => 1
93 decorate_events => true
94 group_id => "logstash_ck"
95 metadata_max_age_ms => 60000 # recheck for new topics every minute
96 # other topics that are not indexed: xos.gui_events, voltha.kpis, voltha.heartbeat
97 topics_pattern => '.*\.events|dhcp.*|onos.*|.*\.log.*'
98 type => "cord-platform-kafka"
99 }
100 }
Zack Williams0db3be22019-07-02 16:57:18 -0700101
Matteo Scandolo374ec7a2018-12-17 11:19:44 -0800102 fluentd-elasticsearch:
103 elasticsearch:
104 host: "cord-platform-elasticsearch-client"
105
106kafka:
Zack Williams0db3be22019-07-02 16:57:18 -0700107 replicas: 1
108
Matteo Scandolo374ec7a2018-12-17 11:19:44 -0800109 configurationOverrides:
110 "offsets.topic.replication.factor": 1
111 "log.retention.hours": 4
112 "log.message.timestamp.type": "LogAppendTime"
113
114 persistence:
115 enabled: false
116
117 zookeeper:
Zack Williams0db3be22019-07-02 16:57:18 -0700118 replicaCount: 1
Matteo Scandolo374ec7a2018-12-17 11:19:44 -0800119 persistence:
Zack Williams586dbab2018-12-21 10:51:52 -0700120 enabled: false