get cpu stats from cgroup, remove env (#2636)
* get cpu stats from cgroup, remove env * undo rand seed removal * tests
This commit is contained in:
+3
-1
@@ -272,7 +272,9 @@ func startServer(c *cli.Context) error {
|
||||
return err
|
||||
}
|
||||
|
||||
prometheus.Init(currentNode.Id, currentNode.Type, conf.Environment)
|
||||
if err := prometheus.Init(currentNode.Id, currentNode.Type); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
server, err := service.InitializeServer(conf, currentNode)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user