Woopsie
This commit is contained in:
parent
42e0fffac7
commit
ca1574c6ef
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ func process(broker *tg.Broker, update tg.APIUpdate) {
|
||||||
if strings.HasPrefix(*update.Message.Text, "/") {
|
if strings.HasPrefix(*update.Message.Text, "/") {
|
||||||
opCommand.With(prometheus.Labels{
|
opCommand.With(prometheus.Labels{
|
||||||
"command": strings.SplitN(*update.Message.Text, " ", 2)[0],
|
"command": strings.SplitN(*update.Message.Text, " ", 2)[0],
|
||||||
})
|
}).Inc()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue