You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
581 B
Go
25 lines
581 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"},
|
|
)
|
|
|
|
starterCounter = promauto.NewCounterVec(
|
|
prometheus.CounterOpts{
|
|
Name: "rogueserver_starter_count",
|
|
Help: "The total number of times a specific starter was selected",
|
|
},
|
|
[]string{"starterKey", "gameMode"},
|
|
)
|
|
)
|