Need guidance with production monitoring?
Book FREE office hours and we'll help you out
Not sure how to approach production monitoring? Book FREE office hours and we'll help you out
Instrumentation/Supported Frameworks

Hikari CP Instrumentation #

As part of the JDBC instrumentation, Kamon can automatically gather performance metrics out of Hikari connection pools and use the pool information when creating Spans from Statements execution.

Metrics #

All Hikari connection pools will get the following metrics:


Tags included by default:
  • jdbc.pool.vendor: Name of the connection pool vendor.
  • jdbc.pool.name: Name of the connection pool for which the metric is being tracked.
  • db.vendor: Name of the JDBC driver vendor.

Tags included by default:
  • jdbc.pool.vendor: Name of the connection pool vendor.
  • jdbc.pool.name: Name of the connection pool for which the metric is being tracked.
  • db.vendor: Name of the JDBC driver vendor.

Tags included by default:
  • jdbc.pool.vendor: Name of the connection pool vendor.
  • jdbc.pool.name: Name of the connection pool for which the metric is being tracked.
  • db.vendor: Name of the JDBC driver vendor.

Tags included by default:
  • jdbc.pool.vendor: Name of the connection pool vendor.
  • jdbc.pool.name: Name of the connection pool for which the metric is being tracked.
  • db.vendor: Name of the JDBC driver vendor.

Manual Installation #

In case you are not using the Kamon Bundle, add the dependency below to your build:


libraryDependencies += "io.kamon" %% "kamon-jdbc" % "2.5.9"



    <dependency>
      <groupId>io.kamon</groupId>
      <artifactId>kamon-jdbc_2.13</artifactId>
      <version>2.5.9</version>
    </dependency>


implementation 'io.kamon:kamon-jdbc_2.13:2.5.9'

You must start your application with the instrumentation agent for this module to work properly.

On this article
Kamon APM Logo
Monitor and fix issues in production without being an expert
Learn about APM
Try Kamon APM I know how Kamon APM can help with monitoring. Don't show this again.