Fix stupid typo in metric name

This commit is contained in:
zikaeroh 2020-05-26 23:27:09 -07:00
parent 8accc42167
commit 1266a7808c
1 changed files with 3 additions and 3 deletions

View File

@ -20,11 +20,11 @@ var (
Help: "Total number of clients.", Help: "Total number of clients.",
}) })
metricRecieved = promauto.NewCounter(prometheus.CounterOpts{ metricreceived = promauto.NewCounter(prometheus.CounterOpts{
Namespace: "codies", Namespace: "codies",
Subsystem: "codies", Subsystem: "codies",
Name: "recieved_total", Name: "received_total",
Help: "Total number of recieved messages.", Help: "Total number of received messages.",
}) })
metricSent = promauto.NewCounter(prometheus.CounterOpts{ metricSent = promauto.NewCounter(prometheus.CounterOpts{