diff options
Diffstat (limited to 'internal/server/metrics/metrics.go')
| -rw-r--r-- | internal/server/metrics/metrics.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/server/metrics/metrics.go b/internal/server/metrics/metrics.go index 6eaf62c..691c190 100644 --- a/internal/server/metrics/metrics.go +++ b/internal/server/metrics/metrics.go @@ -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", |
