prometheus for statistics

This commit is contained in:
skiffer-git
2022-09-14 21:11:40 +08:00
parent a110b4c26b
commit 375fc0c89e
3 changed files with 10 additions and 12 deletions
+1
View File
@@ -37,6 +37,7 @@ var (
func Init() {
cmdCh = make(chan Cmd2Value, 10000)
w = new(sync.Mutex)
initPrometheus()
persistentCH.Init() // ws2mschat save mysql
historyCH.Init(cmdCh) //
historyMongoCH.Init()