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