fix(metrics): client metrics key name

This commit is contained in:
DDDHuang 2022-01-25 16:44:09 +08:00
parent 34dcd13097
commit 2eae1088ac
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -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).