Skip to content

Commit

Permalink
Print info about GPU accounting status
Browse files Browse the repository at this point in the history
  • Loading branch information
mtds committed Apr 16, 2021
1 parent 836ca2e commit 0ef4ae5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func main() {
// The Handler function provides a default handler to expose metrics
// via an HTTP server. "/metrics" is the usual endpoint for that.
log.Infof("Starting Server: %s", *listenAddress)
log.Infof("GPUs Accounting: %t", *gpuAcct)
http.Handle("/metrics", promhttp.Handler())
log.Fatal(http.ListenAndServe(*listenAddress, nil))
}

0 comments on commit 0ef4ae5

Please sign in to comment.