feat 服务发现模块
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package global
|
||||
|
||||
import (
|
||||
"git.hlsq.asia/mmorpg/service-common/log"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
)
|
||||
|
||||
@@ -11,7 +10,6 @@ var (
|
||||
)
|
||||
|
||||
func init() {
|
||||
log.Infof("Init prometheus metric...")
|
||||
OnlineUsersGauge = prometheus.NewGauge(prometheus.GaugeOpts{
|
||||
Name: "gateway_online_users",
|
||||
Help: "Total number of online users",
|
||||
|
||||
Reference in New Issue
Block a user