Skip to content

Commit 63d4e42

Browse files
styner9karl-kcdFlorentClarret
authored
Added hikaricp.connections.max (pool max size) (DataDog#1890)
* Add hikaricp.connections.max (connection pool size) * Change metric description * Fix wrong captial letter * Add unit name Co-authored-by: Florent Clarret <[email protected]> --------- Co-authored-by: karl <[email protected]> Co-authored-by: Florent Clarret <[email protected]>
1 parent 2c37b65 commit 63d4e42

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

hikaricp/datadog_checks/hikaricp/metrics.py

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"hikaricp_connections": "connections",
33
"hikaricp_connections_active": "connections.active",
44
"hikaricp_connections_idle": "connections.idle",
5+
"hikaricp_connections_max": "connections.max",
56
"hikaricp_connections_pending": "connections.pending",
67
"hikaricp_connections_timeout": "connections.timeout",
78
"hikaricp_connections_acquire_seconds": "connections.acquire.seconds",

hikaricp/metadata.csv

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ hikaricp.connections,gauge,,,,Number of connections,0,hikaricp,connection number
33
hikaricp.connections.timeout.count,count,,,,Total number of timeout connections,0,hikaricp,connection timeout total,
44
hikaricp.connections.active,gauge,,,,Number of active connections,0,hikaricp,active connection number,
55
hikaricp.connections.idle,gauge,,,,Number of idle connections,0,hikaricp,idle connection number,
6+
hikaricp.connections.max,gauge,,connection,,Max number of connections,0,hikaricp,max connection number,
67
hikaricp.connections.pending,gauge,,,,Number of pending connections,0,hikaricp,pending connection number,
78
hikaricp.connections.acquire.seconds.count,count,,second,,Count of acquire connection time,0,hikaricp,acquire connections time seconds,
89
hikaricp.connections.acquire.seconds.max,gauge,,second,, Max of acquire connection time,0,hikaricp,acquire connections time seconds,
@@ -12,4 +13,4 @@ hikaricp.connections.creation.seconds.max,gauge,,second,,Max of creation connect
1213
hikaricp.connections.creation.seconds.sum,count,,second,,Sum of creation connection time,0,hikaricp,creation connections time seconds,
1314
hikaricp.connections.usage.seconds.count,count,,second,,Count of usage connection time,0,hikaricp,usage connections time seconds,
1415
hikaricp.connections.usage.seconds.max,gauge,,second,,Max of usage connection time,0,hikaricp,usage connections time seconds,
15-
hikaricp.connections.usage.seconds.sum,count,,second,,Sum of usage connection time,0,hikaricp,usage connections time seconds,
16+
hikaricp.connections.usage.seconds.sum,count,,second,,Sum of usage connection time,0,hikaricp,usage connections time seconds,

hikaricp/tests/test_hikaricp.py

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"hikaricp.connections",
88
"hikaricp.connections.active",
99
"hikaricp.connections.idle",
10+
"hikaricp.connections.max",
1011
"hikaricp.connections.pending",
1112
"hikaricp.connections.timeout.count",
1213
"hikaricp.connections.acquire.seconds.count",

0 commit comments

Comments
 (0)