mirror of
https://github.com/go-gitea/gitea.git
synced 2025-05-16 12:21:32 +00:00
This PR adds the label _state_ to the metric _gitea_users_. With the change, _gitea_users_ would be reported like this: ``` ... # HELP gitea_users Number of Users # TYPE gitea_users gauge gitea_users{state="active"} 20 gitea_users{state="inactive"} 10 ... ``` The metrics above would be from a Gitea instance with 30 user accounts. 20 of the accounts are active and 10 of the accounts are not active. Resolve #34325 |
||
---|---|---|
.. | ||
action_list.go | ||
action_test.go | ||
action.go | ||
main_test.go | ||
notification_list.go | ||
notification_test.go | ||
notification.go | ||
repo_activity.go | ||
statistic.go | ||
user_heatmap_test.go | ||
user_heatmap.go |