|
@ -212,7 +212,7 @@ func (m *metricsConnTracer) getEncLevel(packetType logging.PacketType) string { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func (m *metricsConnTracer) StartedConnection(net.Addr, net.Addr, logging.VersionNumber, logging.ConnectionID, logging.ConnectionID) { |
|
|
func (m *metricsConnTracer) StartedConnection(net.Addr, net.Addr, logging.ConnectionID, logging.ConnectionID) { |
|
|
m.startTime = time.Now() |
|
|
m.startTime = time.Now() |
|
|
collector.AddConn(m.connID.String(), m) |
|
|
collector.AddConn(m.connID.String(), m) |
|
|
} |
|
|
} |
|
@ -313,6 +313,8 @@ func (m *metricsConnTracer) UpdatedMetrics(rttStats *logging.RTTStats, cwnd, byt |
|
|
m.mutex.Unlock() |
|
|
m.mutex.Unlock() |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func (m *metricsConnTracer) AcknowledgedPacket(logging.EncryptionLevel, logging.PacketNumber) {} |
|
|
|
|
|
|
|
|
func (m *metricsConnTracer) LostPacket(level logging.EncryptionLevel, _ logging.PacketNumber, r logging.PacketLossReason) { |
|
|
func (m *metricsConnTracer) LostPacket(level logging.EncryptionLevel, _ logging.PacketNumber, r logging.PacketLossReason) { |
|
|
var reason string |
|
|
var reason string |
|
|
switch r { |
|
|
switch r { |
|
|