diff --git a/README.md b/README.md index 820a1a7b..54ce979d 100644 --- a/README.md +++ b/README.md @@ -485,7 +485,7 @@ been started. |hackney.POOLNAME.no_socket |counter | Count of new connections | |hackney.POOLNAME.in_use_count |histogram| How many connections from the pool are used | |hackney.POOLNAME.free_count |counter | Number of free sockets in the pool | -|hackney.POOLNAME.queue_counter|histogram| queued clients | +|hackney.POOLNAME.queue_count |histogram| queued clients | ## Contribute diff --git a/doc/README.md b/doc/README.md index 1525ead0..f63380e9 100644 --- a/doc/README.md +++ b/doc/README.md @@ -485,7 +485,7 @@ been started. |hackney.POOLNAME.no_socket |counter | Count of new connections | |hackney.POOLNAME.in_use_count |histogram| How many connections from the pool are used | |hackney.POOLNAME.free_count |counter | Number of free sockets in the pool | -|hackney.POOLNAME.queue_counter|histogram| queued clients | +|hackney.POOLNAME.queue_count |histogram| queued clients | ## Contribute diff --git a/doc/overview.edoc b/doc/overview.edoc index 2fcca3a2..7cd7f74a 100644 --- a/doc/overview.edoc +++ b/doc/overview.edoc @@ -482,7 +482,7 @@ been started. |hackney.POOLNAME.no_socket |counter | Count of new connections | |hackney.POOLNAME.in_use_count |histogram| How many connections from the pool are used | |hackney.POOLNAME.free_count |counter | Number of free sockets in the pool | -|hackney.POOLNAME.queue_counter|histogram| queued clients | +|hackney.POOLNAME.queue_count |histogram| queued clients | ## Contribute diff --git a/src/hackney_pool.erl b/src/hackney_pool.erl index 049d56e2..2859520f 100644 --- a/src/hackney_pool.erl +++ b/src/hackney_pool.erl @@ -602,7 +602,7 @@ init_metrics(PoolName) -> _ = metrics:new(Engine, counter, [hackney_pool, PoolName, no_socket]), _ = metrics:new(Engine, histogram, [hackney_pool, PoolName, in_use_count]), _ = metrics:new(Engine, histogram, [hackney_pool, PoolName, free_count]), - _ = metrics:new(Engine, histogram, [hackney_pool, PoolName, queue_counter]), + _ = metrics:new(Engine, histogram, [hackney_pool, PoolName, queue_count]), Engine. delete_metrics(Engine, PoolName) -> @@ -610,7 +610,7 @@ delete_metrics(Engine, PoolName) -> _ = metrics:delete(Engine, [hackney_pool, PoolName, no_socket]), _ = metrics:delete(Engine, [hackney_pool, PoolName, in_use_count]), _ = metrics:delete(Engine, [hackney_pool, PoolName, free_count]), - _ = metrics:delete(Engine, [hackney_pool, PoolName, queue_counter]), + _ = metrics:delete(Engine, [hackney_pool, PoolName, queue_count]), ok.