diff options
author | Maria-12648430 <[email protected]> | 2020-09-04 14:32:41 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-09-10 15:01:49 +0200 |
commit | 03a8256e989091d7d153b8632c25fdc64c88ada1 (patch) | |
tree | 9493887c7cbd1f4fb3335a966e9367eb1527d3d4 /doc/src | |
parent | a57210e4e06358304b8d49ae955ab6466e0a289b (diff) | |
download | ranch-03a8256e989091d7d153b8632c25fdc64c88ada1.tar.gz ranch-03a8256e989091d7d153b8632c25fdc64c88ada1.tar.bz2 ranch-03a8256e989091d7d153b8632c25fdc64c88ada1.zip |
Metric counters for connection accepts and terminates
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/guide/introduction.asciidoc | 2 | ||||
-rw-r--r-- | doc/src/manual/ranch.info.asciidoc | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/doc/src/guide/introduction.asciidoc b/doc/src/guide/introduction.asciidoc index d904c65..a682c46 100644 --- a/doc/src/guide/introduction.asciidoc +++ b/doc/src/guide/introduction.asciidoc @@ -15,7 +15,7 @@ with socket programming and TCP protocols. Ranch is tested and supported on Linux, FreeBSD, macOS and Windows. -Ranch is developed for Erlang/OTP 21+. +Ranch is developed for Erlang/OTP 22+. Ranch may be compiled on earlier Erlang versions with small source code modifications but there is no guarantee that it will work as expected. diff --git a/doc/src/manual/ranch.info.asciidoc b/doc/src/manual/ranch.info.asciidoc index 651daf2..6404fcc 100644 --- a/doc/src/manual/ranch.info.asciidoc +++ b/doc/src/manual/ranch.info.asciidoc @@ -38,9 +38,18 @@ transport:: Transport module. transport_options:: Transport options. protocol:: Protocol module. protocol_options:: Protocol options. +metrics:: Listener metrics. + +== Metrics + +Listener metrics are provided as a map, with the following keys: + +{conns_sup, Index, accept}:: Number of accepted connections, per connection supervisor. +{conns_sup, Index, terminate}:: Number of terminated connection processes, per connection supervisor. == Changelog +* *2.1*: Added accept/terminate metrics to the output of `ranch:info/0,1`. * *2.0*: The listener info is now returned as a map. * *2.0*: The `num_acceptors` key has been removed. |