diff --git a/web/middleware.go b/web/middleware.go index f358b23..6277e9f 100644 --- a/web/middleware.go +++ b/web/middleware.go @@ -59,7 +59,7 @@ func (mm *MetricsMiddleware) handler(next http.Handler) http.Handler { func NewMetricsMiddleware() func(next http.Handler) http.Handler { mm := &MetricsMiddleware{} mm.requests = prometheus.NewCounterVec(prometheus.CounterOpts{ - Name: "filmblogg_http_requests_total", + Name: "apiary_http_requests_total", Help: "Total requests processed.", ConstLabels: prometheus.Labels{"service": "http"}, }, @@ -68,7 +68,7 @@ func NewMetricsMiddleware() func(next http.Handler) http.Handler { mm.latency = prometheus.NewHistogramVec( prometheus.HistogramOpts{ - Name: "filmblogg_http_request_duration_milliseconds", + Name: "apiary_http_request_duration_milliseconds", Help: "Request processing time.", ConstLabels: prometheus.Labels{"service": "http"}, Buckets: []float64{100, 500, 1500},