Skip to content

Commit

Permalink
drop metric
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudkov committed May 18, 2024
1 parent ecec931 commit 3bae214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/client/client_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ func (h *ConnClientHandler) tryAddPacket(msg []byte) bool {
case h.sendChan <- msg:
default:
if h.dropMetric != nil {
h.dropMetric.WithLabelValues("reason", "handler").Inc()
h.dropMetric.WithLabelValues("reason", "handler_"+h.GetUser().GetLogin()).Inc()
}
}

Expand Down

0 comments on commit 3bae214

Please sign in to comment.