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
..
2025-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2025-03-31 01:53:48 -04:00
2025-03-31 01:53:48 -04:00
2025-03-31 01:53:48 -04:00
2025-03-13 07:04:50 +08:00
2025-04-01 10:14:01 +00:00
2025-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2023-02-11 08:39:50 +08:00
2025-03-13 07:04:50 +08:00
2025-03-31 01:53:48 -04:00
2022-12-30 23:31:00 +08:00
2025-04-01 10:14:01 +00:00
2024-12-24 01:54:19 +00:00
2025-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2025-04-01 10:14:01 +00:00
2025-03-11 10:40:38 -07:00