2023-11-10 19:37:25 +08:00
|
|
|
package prommetrics
|
2023-11-07 14:36:56 +08:00
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"github.com/prometheus/client_golang/prometheus"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
OnlineUserGauge = prometheus.NewGauge(prometheus.GaugeOpts{
|
|
|
|
|
Name: "online_user_num",
|
|
|
|
|
Help: "The number of online user num",
|
|
|
|
|
})
|
|
|
|
|
)
|