fix: better logging
- verbose logging for log channel resolving logic - don't LOG TOKENS TO THE CONSOLE OR SEQ - actually log verbose logs to seq - report open db connections to prometheus
This commit is contained in:
parent
7749c9d9e2
commit
5157105c35
7 changed files with 109 additions and 50 deletions
|
|
@ -29,6 +29,11 @@ public static class CataloggerMetrics
|
|||
|
||||
public static long MessageRateMinute { get; set; }
|
||||
|
||||
public static readonly Gauge DatabaseConnections = Metrics.CreateGauge(
|
||||
"catalogger_open_database_connections",
|
||||
"Number of open database connections"
|
||||
);
|
||||
|
||||
public static readonly Gauge GuildsCached = Metrics.CreateGauge(
|
||||
"catalogger_cache_guilds",
|
||||
"Number of guilds in the cache"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue