Skip to content

Commit 91ce456

Browse files
committed
Add missing documentation for host-based pool metrics
* hackney_pool.HOST.new_connection * hackney_pool.HOST.reuse_connection
1 parent 54b6017 commit 91ce456

File tree

3 files changed

+30
-24
lines changed

3 files changed

+30
-24
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -517,14 +517,16 @@ been started.
517517

518518
#### Metrics per Hosts
519519

520-
|Name |Type | Description |
521-
|----------------------------|---------|----------------------------|
522-
|hackney.HOST.nb_requests |counter | Number of running requests |
523-
|hackney.HOST.request_time |histogram| Request time |
524-
|hackney.HOST.connect_time |histogram| Connect time |
525-
|hackney.HOST.response_time |histogram| Response time |
526-
|hackney.HOST.connect_timeout|counter | Number of connect timeout |
527-
|hackney.HOST.connect_error |counter | Number of timeout errors |
520+
|Name |Type | Description |
521+
|----------------------------------|---------|-------------------------------------------|
522+
|hackney.HOST.nb_requests |counter | Number of running requests |
523+
|hackney.HOST.request_time |histogram| Request time |
524+
|hackney.HOST.connect_time |histogram| Connect time |
525+
|hackney.HOST.response_time |histogram| Response time |
526+
|hackney.HOST.connect_timeout |counter | Number of connect timeout |
527+
|hackney.HOST.connect_error |counter | Number of timeout errors |
528+
|hackney_pool.HOST.new_connection |counter | Number of new pool connections per host |
529+
|hackney_pool.HOST.reuse_connection|counter | Number of reused pool connections per host|
528530

529531
#### Metrics per Pool
530532

doc/README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -517,14 +517,16 @@ been started.
517517

518518
#### Metrics per Hosts
519519

520-
|Name |Type | Description |
521-
|----------------------------|---------|----------------------------|
522-
|hackney.HOST.nb_requests |counter | Number of running requests |
523-
|hackney.HOST.request_time |histogram| Request time |
524-
|hackney.HOST.connect_time |histogram| Connect time |
525-
|hackney.HOST.response_time |histogram| Response time |
526-
|hackney.HOST.connect_timeout|counter | Number of connect timeout |
527-
|hackney.HOST.connect_error |counter | Number of timeout errors |
520+
|Name |Type | Description |
521+
|----------------------------------|---------|-------------------------------------------|
522+
|hackney.HOST.nb_requests |counter | Number of running requests |
523+
|hackney.HOST.request_time |histogram| Request time |
524+
|hackney.HOST.connect_time |histogram| Connect time |
525+
|hackney.HOST.response_time |histogram| Response time |
526+
|hackney.HOST.connect_timeout |counter | Number of connect timeout |
527+
|hackney.HOST.connect_error |counter | Number of timeout errors |
528+
|hackney_pool.HOST.new_connection |counter | Number of new pool connections per host |
529+
|hackney_pool.HOST.reuse_connection|counter | Number of reused pool connections per host|
528530

529531
#### Metrics per Pool
530532

doc/overview.edoc

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -512,14 +512,16 @@ been started.
512512

513513
#### Metrics per Hosts
514514

515-
|Name |Type | Description |
516-
|----------------------------|---------|----------------------------|
517-
|hackney.HOST.nb_requests |counter | Number of running requests |
518-
|hackney.HOST.request_time |histogram| Request time |
519-
|hackney.HOST.connect_time |histogram| Connect time |
520-
|hackney.HOST.response_time |histogram| Response time |
521-
|hackney.HOST.connect_timeout|counter | Number of connect timeout |
522-
|hackney.HOST.connect_error |counter | Number of timeout errors |
515+
|Name |Type | Description |
516+
|----------------------------------|---------|-------------------------------------------|
517+
|hackney.HOST.nb_requests |counter | Number of running requests |
518+
|hackney.HOST.request_time |histogram| Request time |
519+
|hackney.HOST.connect_time |histogram| Connect time |
520+
|hackney.HOST.response_time |histogram| Response time |
521+
|hackney.HOST.connect_timeout |counter | Number of connect timeout |
522+
|hackney.HOST.connect_error |counter | Number of timeout errors |
523+
|hackney_pool.HOST.new_connection |counter | Number of new pool connections per host |
524+
|hackney_pool.HOST.reuse_connection|counter | Number of reused pool connections per host|
523525

524526
#### Metrics per Pool
525527

0 commit comments

Comments
 (0)