Change lcm.cfg from prometheus to a generic tsdb
[osm/LCM.git] / osm_lcm / lcm.cfg
index 01accff..e2e34d4 100644 (file)
@@ -22,6 +22,11 @@ global:
     # logfile:  /app/log  # or /var/log/osm/lcm.log
     # nologging: True     # do no log to stdout/stderr
 
+#[timeout]
+timeout:
+    # ns_deploy: 7200     # total deploy timeout for a ns 2 hours
+    # nsi_deploy: 7200     # total deploy timeout for a nsi 2 hours
+
 #[RO]
 RO:
     host:   ro          # hostname or IP
@@ -35,7 +40,16 @@ VCA:
     host:   vca
     port:   17070
     user:   admin
-    secret:   secret
+    secret: secret
+    cloud:  localhost
+    k8s_cloud: k8scloud
+    helmpath:    /usr/local/bin/helm
+    kubectlpath: /usr/bin/kubectl
+    jujupath:    /usr/local/bin/juju
+    # pubkey: pubkey
+    # cacert: cacert
+    # apiproxy: apiproxy
+
     # loglevel: DEBUG
     # logfile:  /var/log/osm/lcm-vca.log
 
@@ -61,11 +75,20 @@ storage:
 
 #[message]
 message:
-    driver: kafka       # local or kafka
+    driver:   kafka       # local or kafka
     # for local provide file path
-    path:   /app/storage/kafka
+    path:     /app/storage/kafka
     # for kafka provide host and port
-    host:   kafka
-    port:   9092
+    host:     kafka
+    port:     9092
     # loglevel: DEBUG
     # logfile:  /var/log/osm/lcm-message.log
+    group_id: lcm-server
+
+tsdb:    # time series database
+    driver:   prometheus
+    # local file to store the configuration
+    path:     /etc/prometheus
+    uri:      http://prometheus:9090/
+    # loglevel: DEBUG
+    # logfile:  /var/log/osm/lcm-tsdb.log