fix(metrics): client metrics key name
This commit is contained in:
parent
34dcd13097
commit
2eae1088ac
|
@ -122,7 +122,7 @@
|
|||
, 'recv_msg.qos1'
|
||||
, 'recv_msg.qos2'
|
||||
, 'recv_msg.dropped'
|
||||
, 'recv_msg.dropped.expired'
|
||||
, 'recv_msg.dropped.await_pubrel_timeout'
|
||||
, send_pkt
|
||||
, send_msg
|
||||
, 'send_msg.qos0'
|
||||
|
|
|
@ -687,7 +687,7 @@ inc_delivery_expired_cnt(N) ->
|
|||
|
||||
inc_await_pubrel_timeout(N) ->
|
||||
ok = inc_pd('recv_msg.dropped', N),
|
||||
ok = inc_pd('recv_msg.dropped.expired', N),
|
||||
ok = inc_pd('recv_msg.dropped.await_pubrel_timeout', N),
|
||||
ok = emqx_metrics:inc('messages.dropped', N),
|
||||
emqx_metrics:inc('messages.dropped.await_pubrel_timeout', N).
|
||||
|
||||
|
|
Loading…
Reference in New Issue