Delta-v/Content.Server/Administration/Managers
Pieter-Jan Briers a1817a12db
Add Prometheus stats for admin count (#26284)
* Add Prometheus stats for admin count

Fixes #20828

Reports time series for admin count. Counts are separated by state (active, AFK, or deadminned) and admin rank.

* Use static constructor instead of static readonly for the metric

Docs recommend this due to inconsistent execution of C# static constructors.

* Remove static usage, use IoC IMeterFactory.

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2024-03-24 14:48:04 +11:00
..
AdminManager.Metrics.cs Add Prometheus stats for admin count (#26284) 2024-03-24 14:48:04 +11:00
AdminManager.cs Add Prometheus stats for admin count (#26284) 2024-03-24 14:48:04 +11:00
BanManager.cs Obsolete refactor - ConnectedClient to Channel (#24409) 2024-01-23 09:14:13 +11:00
IAdminManager.cs Un-revert IPlayerManager refactor (#21244) 2023-10-28 09:59:53 +11:00
IBanManager.cs Un-revert IPlayerManager refactor (#21244) 2023-10-28 09:59:53 +11:00