mirror of
https://github.com/seriyps/mtproto_proxy.git
synced 2026-08-04 15:19:47 +00:00
Fix typo in metric name
This commit is contained in:
parent
f3c3690a03
commit
7d0480be32
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ handle_info(Other, S) ->
|
|||
terminate(_Reason, #state{started_at = Started}) ->
|
||||
mtp_metric:count_inc([?APP, in_connection_closed, total], 1, #{}),
|
||||
Lifetime = erlang:system_time(millisecond) - Started,
|
||||
metric:histogram_observe(
|
||||
mtp_metric:histogram_observe(
|
||||
[?APP, session_lifetime, seconds],
|
||||
erlang:convert_time_unit(Lifetime, millisecond, native), #{}),
|
||||
lager:debug("terminate ~p", [_Reason]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue