mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 12:54:01 +03:00
Add prometheus
This commit is contained in:
@@ -97,6 +97,7 @@ func (suite *StatsdTestSuite) TestEventStartFinish() {
|
||||
suite.statsd.EventStart(mtglib.EventStart{
|
||||
CreatedAt: time.Now(),
|
||||
ConnID: "connID",
|
||||
RemoteIP: net.ParseIP("10.0.0.10"),
|
||||
})
|
||||
|
||||
time.Sleep(2 * statsd.DefaultFlushInterval)
|
||||
|
||||
Reference in New Issue
Block a user