open-im-server/pkg/common/metrics/grpc_msggateway.go
Xinwei Xiong(cubxxw) a029bdc0ca feat: add openim images config path
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
2023-11-09 20:13:26 +08:00

13 lines
225 B
Go

package prom_metrics
import (
"github.com/prometheus/client_golang/prometheus"
)
var (
OnlineUserGauge = prometheus.NewGauge(prometheus.GaugeOpts{
Name: "online_user_num",
Help: "The number of online user num",
})
)