mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
13 lines
226 B
Go
13 lines
226 B
Go
package prom_metrics
|
|
|
|
import (
|
|
"github.com/prometheus/client_golang/prometheus"
|
|
)
|
|
|
|
var (
|
|
UserLoginCounter = prometheus.NewCounter(prometheus.CounterOpts{
|
|
Name: "user_login_total",
|
|
Help: "The number of user login",
|
|
})
|
|
)
|