diff --git a/server/stats/internal.go b/server/stats/internal.go index 34d9c745..4b28c2c0 100644 --- a/server/stats/internal.go +++ b/server/stats/internal.go @@ -78,6 +78,10 @@ func (collector *internalCollector) Mark(statsType StatsType, payload interface{ collector.newClient(v) case *CloseClientPayload: collector.closeClient(v) + case *NewProxyPayload: + collector.newProxy(v) + case *CloseProxyPayload: + collector.closeProxy(v) case *OpenConnectionPayload: collector.openConnection(v) case *CloseConnectionPayload: