Remove labels from metrics

This commit is contained in:
Kieran 2023-02-16 20:41:41 +00:00
parent 377bfc3d36
commit 0fd723847f
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -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;
}
}