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:
Mathew Kamkar
2024-04-08 21:15:17 -07:00
committed by GitHub
parent 196fed605e
commit 10c8582a6b
11 changed files with 61 additions and 52 deletions
+3 -1
View File
@@ -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 {