mirror of https://kolaente.dev/vikunja/api.git
fix(metrics): typo
This commit is contained in:
parent
6defc4cba2
commit
1ab6fef70a
|
@ -69,7 +69,7 @@ func init() {
|
||||||
func setupActiveUsersMetric() {
|
func setupActiveUsersMetric() {
|
||||||
err := registry.Register(promauto.NewGaugeFunc(prometheus.GaugeOpts{
|
err := registry.Register(promauto.NewGaugeFunc(prometheus.GaugeOpts{
|
||||||
Name: "vikunja_active_users",
|
Name: "vikunja_active_users",
|
||||||
Help: "The number of shares active within the last 30 seconds",
|
Help: "The number of users active within the last 30 seconds",
|
||||||
}, func() float64 {
|
}, func() float64 {
|
||||||
allActiveUsers := activeUsersMap{}
|
allActiveUsers := activeUsersMap{}
|
||||||
_, err := keyvalue.GetWithValue(activeUsersKey, &allActiveUsers)
|
_, err := keyvalue.GetWithValue(activeUsersKey, &allActiveUsers)
|
||||||
|
|
Loading…
Reference in New Issue