diff --git a/stats/main.go b/stats/main.go index 40c2400..63cfa7e 100644 --- a/stats/main.go +++ b/stats/main.go @@ -26,7 +26,7 @@ func process(broker *tg.Broker, update tg.APIUpdate) { if strings.HasPrefix(*update.Message.Text, "/") { opCommand.With(prometheus.Labels{ "command": strings.SplitN(*update.Message.Text, " ", 2)[0], - }) + }).Inc() } } }