Merge pull request #1045 from fatedier/dev

merge dev -> master
This commit is contained in:
fatedier 2019-01-15 19:45:00 +08:00 committed by GitHub
commit 5bdf530b7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,6 +78,10 @@ func (collector *internalCollector) Mark(statsType StatsType, payload interface{
collector.newClient(v) collector.newClient(v)
case *CloseClientPayload: case *CloseClientPayload:
collector.closeClient(v) collector.closeClient(v)
case *NewProxyPayload:
collector.newProxy(v)
case *CloseProxyPayload:
collector.closeProxy(v)
case *OpenConnectionPayload: case *OpenConnectionPayload:
collector.openConnection(v) collector.openConnection(v)
case *CloseConnectionPayload: case *CloseConnectionPayload: