Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions apm-agent-java/configuration/jmx.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,12 @@ TODO
## Oracle Weblogic

TODO

## Database connection pools
### HikariCP

Agent `capture_jmx_metrics` value to use:
```
object_name[com.zaxxer.hikari:type=Pool (poolName)] attribute[IdleConnections] attribute[ActiveConnections] attribute[TotalConnections] attribute[ThreadsAwaitingConnection]
```
where `poolName` is a name you can set on the HikariConfig using setPoolName("foo"), or the auto-generated name (e.g. HikariPool-1).