Additional metrics for HikariCP module #1976
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Resolves #1965
Adds additional metrics pulled from the
HikariPool
andHikariConfig
classes. The full list:Database Connection/HikariCP/Busy Count[connections]
: Retrieved from HikariPool.getActiveConnections()Database Connection/HikariCP/Idle Count[connections]
: Retrieved from HikariPool.getIdleConnections()Database Connection/HikariCP/Total Count[connections]
: Retrieved from HikariPool.getTotalConnections()Database Connection/HikariCP/Threads Awaiting Count[connections]
: Retrieved from HikariPool.getThreadsAwaitingConnection()Database Connection/HikariCP/Max Pool Size[connections]
: Retrieved from HikariConfig.getMaximumPoolSize()Database Connection/HikariCP/Minimum Idle Size[connections]
: Retrieved from HikariConfig.getMinimumIdle()Database Connection/HikariCP/Connection Timeout
: Retrieved from HikariConfig.getConnectionTimeout()Database Connection/HikariCP/Idle Timeout
: Retrieved from HikariConfig.getIdleTimeout()Database Connection/HikariCP/Leak Detection Threshold
: Retrieved from HikariConfig.getLeakDetectionThreshold()Database Connection/HikariCP/Maximum Lifetime
: Retrieved from HikariConfig.getMaxLifetime()Database Connection/HikariCP/Validation Timeout
: Retrieved from HikariConfig.getValidationTimeout()