promethues

This commit is contained in:
wangchuxiao
2022-09-09 10:29:30 +08:00
parent 5ae9b84cce
commit 5ef7123f78
2 changed files with 9 additions and 1 deletions
@@ -42,6 +42,7 @@ func (pc *PersistentConsumerHandler) Init() {
Name: "insert_mysql_msg_total",
Help: "The total number of msg insert mysql events",
})
prometheus.MustRegister(msgInsertMysqlProcessed)
}
}