Compare commits
3 Commits
56cd2b239d
...
2cf3cfd961
Author | SHA1 | Date | |
---|---|---|---|
2cf3cfd961 | |||
75eb878e33 | |||
1ab6fef70a |
|
@ -1216,7 +1216,7 @@ steps:
|
||||||
# - build
|
# - build
|
||||||
|
|
||||||
- name: rename-unstable
|
- name: rename-unstable
|
||||||
image: apline
|
image: alpine
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- cd desktop/dist
|
- cd desktop/dist
|
||||||
|
@ -1389,6 +1389,6 @@ steps:
|
||||||
- failure
|
- failure
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: ecafdfbeb29047bf6c3603cc186c106550184d8bbb6befe05d359f8b5c983ae0
|
hmac: ebaa2b225788f5ff23cc55be29bea1c6fef1507d2c8f8b0f4b927205ae3a3a63
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
|
@ -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
Block a user