Implement process uptime metric (#666)
* Implement process uptime metric * Add clarification comment * Add another clarification comment
This commit is contained in:
@@ -307,6 +307,8 @@ func Run() {
|
||||
}
|
||||
}
|
||||
|
||||
// Start a separate metrics http server. If metrics addr is not provided, we
|
||||
// add the metrics endpoint in the existing application server (see api.go).
|
||||
if options.MetricsEnabled && options.MetricsAddr != "" {
|
||||
go startMetricsServer()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user