Sergey Prokhorov

Results 43 issues of Sergey Prokhorov

Hi, Can those dashboards be uploaded to https://grafana.com/dashboards ?

**Is your feature request related to a problem? Please describe.** Not yet sure if it's a god idea, but just let it be here. Got this idea while reading this...

feature

Documentation states, that it's possible to use `file` placeholder in log formatter config: https://github.com/basho/lager/blob/3.1.0/README.md#custom-formatting > The placeholders pid, file, line, module, function, and node will always exist if the parse...

Proxy crashes with ```erlang {function_clause, [{mtp_session_storage,do_clean,[mtp_session_storage,mtp_session_storage_histogram, #{max_age_minutes => 43200,max_memory_mb => 4096},count], [{file,"/opt/mtproto_proxy/src/mtp_session_storage.erl"},{line,154}]}, {lists,filtermap,2,[{file,"lists.erl"},{line,1317}]}, {mtp_session_storage,handle_info,2,[{file,"/opt/mtproto_proxy/src/mtp_session_storage.erl"},{line,110}]}, {gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,616}]}, {gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,686}]}, {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]} ``` if some of the keys of `replay_check_session_storage_opts` config is not set. Eg:...

Replace custom metrics with https://hex.pm/packages/telemetry

Maybe it makes sense to reply with TLS Alert, if we can't decode fake-TLS ClientHello as telegram packet? See https://tools.ietf.org/html/rfc8446#section-6

It looks like it's possible to multiplex many `client -> proxy` connections into single `proxy -> telegram` server connection based on RPC connection ID https://github.com/alexbers/mtprotoproxy/blob/ed227da7c3afe67c876cd922661eedd0ec87da78/mtprotoproxy.py#L330 https://github.com/alexbers/mtprotoproxy/blob/ed227da7c3afe67c876cd922661eedd0ec87da78/mtprotoproxy.py#L358 You just have to...

So, this function just resolves references and replaces them with referenced schema inplace. ``` {"definitions": { "myKey": { "minimum": 100, "description": "My key description" } }, "type": "integer", "$ref": "#/definitions/myKey"...

enhancement

Right now Jesse supports multiple Erlang representations of JSON `object` type: `map()` / `proplist` / `{proplist()}` / `{struct, proplist()}`. It used to make sense before maps were introduced in OTP-17...

Some draft for [idl](https://avro.apache.org/docs/current/idl.html) parser. Should fix #68 at some point. - [X] lexer - [x] parser (almost done) - [x] parser tests - [x] avdl-avsc converter - [ ]...