From 1266a7808cc78b8553aaf4771370354f468d0d1c Mon Sep 17 00:00:00 2001 From: zikaeroh <48577114+zikaeroh@users.noreply.github.com> Date: Tue, 26 May 2020 23:27:09 -0700 Subject: [PATCH] Fix stupid typo in metric name --- internal/server/metrics.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/server/metrics.go b/internal/server/metrics.go index 5a5d5c5..7e2092d 100644 --- a/internal/server/metrics.go +++ b/internal/server/metrics.go @@ -20,11 +20,11 @@ var ( Help: "Total number of clients.", }) - metricRecieved = promauto.NewCounter(prometheus.CounterOpts{ + metricreceived = promauto.NewCounter(prometheus.CounterOpts{ Namespace: "codies", Subsystem: "codies", - Name: "recieved_total", - Help: "Total number of recieved messages.", + Name: "received_total", + Help: "Total number of received messages.", }) metricSent = promauto.NewCounter(prometheus.CounterOpts{