mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-04-27 14:46:18 +08:00
17 lines
358 B
Go
17 lines
358 B
Go
![]() |
package savedata
|
||
|
|
||
|
import (
|
||
|
"github.com/prometheus/client_golang/prometheus"
|
||
|
"github.com/prometheus/client_golang/prometheus/promauto"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
gameModeCounter = promauto.NewCounterVec(
|
||
|
prometheus.CounterOpts{
|
||
|
Name: "rogueserver_game_mode_total",
|
||
|
Help: "The total number of classic sessions played per 5 minutes",
|
||
|
},
|
||
|
[]string{"gamemode"},
|
||
|
)
|
||
|
)
|