Implement process uptime metric (#666)
* Implement process uptime metric * Add clarification comment * Add another clarification comment
This commit is contained in:
@@ -20,6 +20,11 @@ var (
|
||||
Name: "pgweb_healthy",
|
||||
Help: "Server health status",
|
||||
})
|
||||
|
||||
uptimeGauge = promauto.NewGauge(prometheus.GaugeOpts{
|
||||
Name: "pgweb_uptime",
|
||||
Help: "Server application uptime in seconds",
|
||||
})
|
||||
)
|
||||
|
||||
func IncrementQueriesCount() {
|
||||
|
||||
Reference in New Issue
Block a user