mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-11-15 06:16:27 +01:00
Remove labels from metrics
This commit is contained in:
@@ -16,7 +16,6 @@ public class PrometheusStatsCollector : IStatsCollector
|
|||||||
public ValueTask TrackIngress(Guid id, ulong amount)
|
public ValueTask TrackIngress(Guid id, ulong amount)
|
||||||
{
|
{
|
||||||
_ingress.Inc(amount);
|
_ingress.Inc(amount);
|
||||||
_ingress.WithLabels(id.ToString()).Inc(amount);
|
|
||||||
return ValueTask.CompletedTask;
|
return ValueTask.CompletedTask;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -24,7 +23,6 @@ public class PrometheusStatsCollector : IStatsCollector
|
|||||||
public ValueTask TrackEgress(Guid id, ulong amount)
|
public ValueTask TrackEgress(Guid id, ulong amount)
|
||||||
{
|
{
|
||||||
_egress.Inc(amount);
|
_egress.Inc(amount);
|
||||||
_egress.WithLabels(id.ToString()).Inc(amount);
|
|
||||||
return ValueTask.CompletedTask;
|
return ValueTask.CompletedTask;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user