feat: aggregate cluster statistics and send to influx with scheduled tasks worker
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user