Skip to content

Commit 54b6017

Browse files
committed
Fix documentation of pool metric names
Their declared prefix is `hackney_pool`, not `hackney`.
1 parent 8a6e28e commit 54b6017

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -528,13 +528,13 @@ been started.
528528

529529
#### Metrics per Pool
530530

531-
|Name |Type | Description |
532-
|------------------------------|-----------|--------------------------------------------------------------------|
533-
|hackney.POOLNAME.take_rate |meter | meter recording rate at which a connection is retrieved from the pool|
534-
|hackney.POOLNAME.no_socket |counter | Count of new connections |
535-
|hackney.POOLNAME.in_use_count |histogram| How many connections from the pool are used |
536-
|hackney.POOLNAME.free_count |histogram| Number of free sockets in the pool |
537-
|hackney.POOLNAME.queue_count |histogram| queued clients |
531+
|Name |Type | Description |
532+
|----------------------------------|---------|----------------------------------------------------------------------|
533+
|hackney_pool.POOLNAME.take_rate |meter | meter recording rate at which a connection is retrieved from the pool|
534+
|hackney_pool.POOLNAME.no_socket |counter | Count of new connections |
535+
|hackney_pool.POOLNAME.in_use_count|histogram| How many connections from the pool are used |
536+
|hackney_pool.POOLNAME.free_count |histogram| Number of free sockets in the pool |
537+
|hackney_pool.POOLNAME.queue_count |histogram| queued clients |
538538

539539
## Contribute
540540

doc/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -528,13 +528,13 @@ been started.
528528

529529
#### Metrics per Pool
530530

531-
|Name |Type | Description |
532-
|------------------------------|-----------|--------------------------------------------------------------------|
533-
|hackney.POOLNAME.take_rate |meter | meter recording rate at which a connection is retrieved from the pool|
534-
|hackney.POOLNAME.no_socket |counter | Count of new connections |
535-
|hackney.POOLNAME.in_use_count |histogram| How many connections from the pool are used |
536-
|hackney.POOLNAME.free_count |histogram| Number of free sockets in the pool |
537-
|hackney.POOLNAME.queue_count |histogram| queued clients |
531+
|Name |Type | Description |
532+
|----------------------------------|---------|----------------------------------------------------------------------|
533+
|hackney_pool.POOLNAME.take_rate |meter | meter recording rate at which a connection is retrieved from the pool|
534+
|hackney_pool.POOLNAME.no_socket |counter | Count of new connections |
535+
|hackney_pool.POOLNAME.in_use_count|histogram| How many connections from the pool are used |
536+
|hackney_pool.POOLNAME.free_count |histogram| Number of free sockets in the pool |
537+
|hackney_pool.POOLNAME.queue_count |histogram| queued clients |
538538

539539
## Contribute
540540

doc/overview.edoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -523,13 +523,13 @@ been started.
523523

524524
#### Metrics per Pool
525525

526-
|Name |Type | Description |
527-
|------------------------------|-----------|--------------------------------------------------------------------|
528-
|hackney.POOLNAME.take_rate |meter | meter recording rate at which a connection is retrieved from the pool|
529-
|hackney.POOLNAME.no_socket |counter | Count of new connections |
530-
|hackney.POOLNAME.in_use_count |histogram| How many connections from the pool are used |
531-
|hackney.POOLNAME.free_count |histogram| Number of free sockets in the pool |
532-
|hackney.POOLNAME.queue_count |histogram| queued clients |
526+
|Name |Type | Description |
527+
|----------------------------------|---------|----------------------------------------------------------------------|
528+
|hackney_pool.POOLNAME.take_rate |meter | meter recording rate at which a connection is retrieved from the pool|
529+
|hackney_pool.POOLNAME.no_socket |counter | Count of new connections |
530+
|hackney_pool.POOLNAME.in_use_count|histogram| How many connections from the pool are used |
531+
|hackney_pool.POOLNAME.free_count |histogram| Number of free sockets in the pool |
532+
|hackney_pool.POOLNAME.queue_count |histogram| queued clients |
533533

534534
## Contribute
535535

0 commit comments

Comments
 (0)