feat 服务发现模块

This commit is contained in:
2026-01-18 00:08:55 +08:00
parent ba16c2cce3
commit 73d3361f34
4 changed files with 4 additions and 8 deletions

View File

@@ -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",