mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 15:27:54 +00:00
Add basic WIP metrics system
This commit is contained in:
parent
a2040f959d
commit
2d58705e85
6 changed files with 90 additions and 9 deletions
13
PluralKit.Core/CoreMetrics.cs
Normal file
13
PluralKit.Core/CoreMetrics.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using App.Metrics;
|
||||
using App.Metrics.Gauge;
|
||||
|
||||
namespace PluralKit.Core
|
||||
{
|
||||
public static class CoreMetrics
|
||||
{
|
||||
public static GaugeOptions SystemCount => new GaugeOptions { Name = "Systems", MeasurementUnit = Unit.Items};
|
||||
public static GaugeOptions MemberCount => new GaugeOptions { Name = "Members", MeasurementUnit = Unit.Items };
|
||||
public static GaugeOptions MessageCount => new GaugeOptions { Name = "Messages", MeasurementUnit = Unit.Items };
|
||||
public static GaugeOptions SwitchCount => new GaugeOptions { Name = "Switches", MeasurementUnit = Unit.Items };
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue