mirror of
https://github.com/Kyren223/eko.git
synced 2025-09-05 21:18:14 +00:00
Added build info metrics to server
This commit is contained in:
@@ -23,6 +23,12 @@ import (
|
||||
|
||||
const namespace = "eko"
|
||||
|
||||
var BuildInfo = promauto.NewGaugeVec(prometheus.GaugeOpts{
|
||||
Namespace: namespace,
|
||||
Name: "build_info",
|
||||
Help: "Build information of the binary",
|
||||
}, []string{"version", "commit", "build_date"})
|
||||
|
||||
var RequestsProcessed = promauto.NewCounterVec(prometheus.CounterOpts{
|
||||
Namespace: namespace,
|
||||
Name: "requests_processed_total",
|
||||
|
Reference in New Issue
Block a user