Add LowCollector & rename Supervisor to Monitoring
[src/xds/xds-agent.git] / lib / xdsconfig / config.go
index 93c8f4b..6a5e750 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017-2018 "IoT.bzh"
+ * Copyright (C) 2017-2019 "IoT.bzh"
  * Author Sebastien Douheret <sebastien@iot.bzh>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -92,10 +92,14 @@ func Init(ctx *cli.Context, log *logrus.Logger) (*Config, error) {
                                Home: defaultSTHomeDir,
                        },
                        ProfileConf: ProfileConfT{
-                               XDSBinder: XDSBinderConf{
+                               XDSMonitoring: XDSMonitoringConf{
                                        URL:       "http://localhost:8810",
                                        ConnRetry: 10,
                                },
+                               XDSLowCollector: XDSLowCollectorConf{
+                                       URL:       "http://localhost:8820",
+                                       ConnRetry: 10,
+                               },
                        },
                },
                Log: log,