Actually fix typo

This commit is contained in:
zikaeroh 2020-05-26 23:40:29 -07:00
parent 1266a7808c
commit 577575a430
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ var (
Help: "Total number of clients.",
})
metricreceived = promauto.NewCounter(prometheus.CounterOpts{
metricReceived = promauto.NewCounter(prometheus.CounterOpts{
Namespace: "codies",
Subsystem: "codies",
Name: "received_total",

View File

@ -289,7 +289,7 @@ func (r *Room) HandleConn(playerID uuid.UUID, nickname string, c *websocket.Conn
}
r.lastSeen.Store(time.Now())
metricRecieved.Inc()
metricReceived.Inc()
if err := r.handleNote(playerID, &note); err != nil {
log.Println("error handling note:", err)