This commit is contained in:
Hamcha 2019-05-27 15:26:38 +02:00
parent 42e0fffac7
commit ca1574c6ef
Signed by: hamcha
GPG key ID: A40413D21021EAEE

View file

@ -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()
}
}
}