Fix bug with SA08 when updating prometheus.yaml
[osm/LCM.git] / osm_lcm / lcm.cfg
1 ##
2 # Copyright 2018 Telefonica S.A.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 # not use this file except in compliance with the License. You may obtain
6 # 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, WITHOUT
12 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 # License for the specific language governing permissions and limitations
14 # under the License.
15 ##
16
17 # TODO currently is a pure yaml format. Consider to change it to [ini] style with yaml inside to be coherent with other modules
18
19 #[global]
20 global:
21     loglevel: DEBUG
22     # logfile:  /app/log  # or /var/log/osm/lcm.log
23     # nologging: True     # do no log to stdout/stderr
24
25 #[timeout]
26 timeout:
27     # ns_deploy: 7200     # total deploy timeout for a ns 2 hours
28     # nsi_deploy: 7200     # total deploy timeout for a nsi 2 hours
29
30 #[RO]
31 RO:
32     host:   ro          # hostname or IP
33     port:   9090
34     tenant: osm
35     # loglevel: DEBUG
36     # logfile:  /var/log/osm/lcm-ro.log
37
38 #[VCA]
39 VCA:
40     host:   vca
41     port:   17070
42     user:   admin
43     secret: secret
44     cloud:  localhost
45     k8s_cloud: k8scloud
46     helmpath:    /usr/local/bin/helm
47     helm3path:    /usr/local/bin/helm3
48     kubectlpath: /usr/bin/kubectl
49     jujupath:    /usr/local/bin/juju
50     # pubkey: pubkey
51     # cacert: cacert
52     # apiproxy: apiproxy
53     #eegrpcinittimeout: 600
54     #eegrpctimeout: 30
55
56     # loglevel: DEBUG
57     # logfile:  /var/log/osm/lcm-vca.log
58
59 #[database]
60 database:
61     driver: mongo       # mongo or memory
62     host:   mongo       # hostname or IP
63     port:   27017
64     name:   osm
65     # replicaset: replicaset
66     # user:   user
67     # password:   password
68     # commonkey: "XXXXXX" # password used for encryption of sensible information
69     # loglevel: DEBUG
70     # logfile:  /var/log/osm/lcm-database.log
71
72 #[storage]
73 storage:
74     driver: local       # local filesystem
75     # for local provide file path
76     path:   /app/storage
77     # loglevel: DEBUG
78     # logfile:  /var/log/osm/lcm-storage.log
79
80 #[message]
81 message:
82     driver:   kafka       # local or kafka
83     # for local provide file path
84     path:     /app/storage/kafka
85     # for kafka provide host and port
86     host:     kafka
87     port:     9092
88     # loglevel: DEBUG
89     # logfile:  /var/log/osm/lcm-message.log
90     group_id: lcm-server
91
92 tsdb:    # time series database
93     driver:   prometheus
94     # local file to store the configuration
95     path:     /opt/prometheus
96     uri:      http://prometheus:9090/
97     # loglevel: DEBUG
98     # logfile:  /var/log/osm/lcm-tsdb.log