blob: 78e2152b965fefe5cd74d55ccc6c15ca386e3c43 [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:
Zack Williams0db3be22019-07-02 16:57:18 -070027 enabled: true
28
Hyunsun Moon52e5ad92019-10-02 20:28:56 -050029 kpi_exporter:
30 kpi_broker: cord-platform-kafka:9092
Zack Williams0db3be22019-07-02 16:57:18 -070031
Matteo Scandolo374ec7a2018-12-17 11:19:44 -080032 grafana:
33 datasources:
34 datasources.yaml:
35 apiVersion: 1
36 datasources:
37 - name: Prometheus
38 type: prometheus
39 url: http://cord-platform-prometheus-server.default.svc.cluster.local
40 access: proxy
41 isDefault: true
42
43logging:
Zack Williams0db3be22019-07-02 16:57:18 -070044 enabled: true
45
Matteo Scandolo374ec7a2018-12-17 11:19:44 -080046 kibana:
47 env:
48 ELASTICSEARCH_URL: "http://cord-platform-elasticsearch-client:9200"
Zack Williams0db3be22019-07-02 16:57:18 -070049
Matteo Scandolo374ec7a2018-12-17 11:19:44 -080050 elasticsearch:
51 cluster:
52 env:
53 MINIMUM_MASTER_NODES: "1"
54 client:
55 replicas: 1
56 master:
57 replicas: 2
58 persistence:
59 enabled: false
60 data:
61 replicas: 1
62 persistence:
63 enabled: false
Zack Williams0db3be22019-07-02 16:57:18 -070064
Matteo Scandolo374ec7a2018-12-17 11:19:44 -080065 logstash:
66 elasticsearch:
67 host: "cord-platform-elasticsearch-client"
68 inputs:
69 main: |-
70 input {
71 kafka {
72 auto_offset_reset => "earliest" # get all previous items from new topics
73 bootstrap_servers => "cord-platform-kafka:9092"
74 client_id => "logstash_ck"
75 codec => json { charset => "UTF-8" }
76 consumer_threads => 1
77 decorate_events => true
78 group_id => "logstash_ck"
79 metadata_max_age_ms => 60000 # recheck for new topics every minute
80 # other topics that are not indexed: xos.gui_events, voltha.kpis, voltha.heartbeat
81 topics_pattern => '.*\.events|dhcp.*|onos.*|.*\.log.*'
82 type => "cord-platform-kafka"
83 }
84 }
Zack Williams0db3be22019-07-02 16:57:18 -070085
Matteo Scandolo374ec7a2018-12-17 11:19:44 -080086 fluentd-elasticsearch:
87 elasticsearch:
88 host: "cord-platform-elasticsearch-client"
89
90kafka:
Zack Williams0db3be22019-07-02 16:57:18 -070091 replicas: 1
92
Matteo Scandolo374ec7a2018-12-17 11:19:44 -080093 configurationOverrides:
94 "offsets.topic.replication.factor": 1
95 "log.retention.hours": 4
96 "log.message.timestamp.type": "LogAppendTime"
97
98 persistence:
99 enabled: false
100
101 zookeeper:
Zack Williams0db3be22019-07-02 16:57:18 -0700102 replicaCount: 1
Matteo Scandolo374ec7a2018-12-17 11:19:44 -0800103 persistence:
Zack Williams586dbab2018-12-21 10:51:52 -0700104 enabled: false