mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
feat: aggregate cluster statistics and send to influx with scheduled tasks worker
This commit is contained in:
parent
857e20b601
commit
8909330db2
8 changed files with 106 additions and 69 deletions
|
|
@ -102,4 +102,12 @@ public static class CoreMetrics
|
|||
MeasurementUnit = Unit.Connections,
|
||||
Context = "Database"
|
||||
};
|
||||
}
|
||||
|
||||
public record ClusterMetricInfo
|
||||
{
|
||||
public int GuildCount;
|
||||
public int ChannelCount;
|
||||
public int DatabaseConnectionCount;
|
||||
public int WebhookCacheSize;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue