Added some logging for country
This commit is contained in:
@@ -190,8 +190,13 @@ public partial class LightlessHub : Hub<ILightlessHub>, ILightlessHub
|
||||
if (_userConnections.TryGetValue(UserUID, out var connectionId)
|
||||
&& string.Equals(connectionId, Context.ConnectionId, StringComparison.Ordinal))
|
||||
{
|
||||
_lightlessMetrics.DecGaugeWithLabels(MetricsAPI.GaugeConnections, labels: Continent);
|
||||
_lightlessMetrics.DecGaugeWithLabels(MetricsAPI.GaugeConnections, labels: Country);
|
||||
var ResultLabels = new List<string>
|
||||
{
|
||||
Continent,
|
||||
Country,
|
||||
};
|
||||
_lightlessMetrics.DecGaugeWithLabels(MetricsAPI.GaugeConnections, labels: [.. ResultLabels]);
|
||||
|
||||
try
|
||||
{
|
||||
await GposeLobbyLeave().ConfigureAwait(false);
|
||||
|
||||
Reference in New Issue
Block a user