gitea/models/activities
Tobias Balle-Petersen 020e774b91
feat: add label 'state' to metric 'gitea_users' (#34326)
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
2025-05-07 18:00:53 +00:00
..
action_list.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
action_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
action.go Optimize total count of feed when loading activities in user dashboard. (#33841) 2025-03-20 10:46:18 -07:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notification_list.go Refactor more filterslice (#30370) 2024-04-10 04:18:41 +00:00
notification_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
notification.go Perf: add extra index to notification table (#32395) 2024-11-13 18:17:54 +00:00
repo_activity.go Fix bug on activities (#33008) 2024-12-28 04:04:07 +00:00
statistic.go feat: add label 'state' to metric 'gitea_users' (#34326) 2025-05-07 18:00:53 +00:00
user_heatmap_test.go Refactor tests (#33021) 2024-12-29 01:05:56 +00:00
user_heatmap.go Move GetFeeds to service layer (#32526) 2024-11-29 17:53:49 +00:00