1 parent
6c7d447c56
commit
88c8109391
9 files changed
+346
-132
No files matched your search
+3
-1
@@ -56,7 +56,7 @@ func main() {
|
||||
log.Printf("Got authentication cookie: %s\n", ucsClient.Cookie)
|
||||
|
||||
// Register prometheus exporters
|
||||
exporter := exporters.NewUcsmTemperatureCollector(ucsClient, ctx)
|
||||
exporter := exporters.NewUcsmExporters(ucsClient, ctx)
|
||||
prometheus.MustRegister(exporter)
|
||||
|
||||
// Start prometheus exporter
|
||||
@@ -64,4 +64,6 @@ func main() {
|
||||
|
||||
// TODO - run this in a go routine to avoid blocking, as per cbs code
|
||||
log.Fatal(http.ListenAndServe(*listenPort, nil))
|
||||
|
||||
// TODO - log off from UCS manager
|
||||
}
|
||||
Reference in new issue
Block a user