Skip to content

Commit

Permalink
Add metrics tracer back in
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Jul 13, 2023
1 parent d0c0cf9 commit eb830c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions p2p/transport/quicreuse/connmgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func NewConnManager(statelessResetKey quic.StatelessResetKey, opts ...Option) (*

if cm.enableMetrics {
cm.mt = newMetricsTracer()
tracers = append(tracers, cm.mt)
}
if len(tracers) > 0 {
quicConf.Tracer = func(ctx context.Context, p quiclogging.Perspective, ci quic.ConnectionID) quiclogging.ConnectionTracer {
Expand Down

0 comments on commit eb830c1

Please sign in to comment.