Spring Boot HikariCP / JDBC
160,007 3.7 (3 reviews)

Created 5/15/2018
Updated 4/29/2019
Revision 5
Categories
Databases
Grafana Version >=6.1.4
Datasources
Prometheus

Spring Boot HikariCP / JDBC dashboard will display the metrics from micrometer. You can setup the application name and the region in your Spring Boot app with the properties:

spring:
  application:
    name: my-service

  datasource:
    hikari:
      pool-name: custom-pool-name     # optional

management:
  endpoints:
    web:
      exposure:
        include: ["*"]    # customize to your need
  metrics:
    tags:
      application: ${spring.application.name}
      region: my-region

Updated for Spring Boot 2.1.x

Get Dashboard
Download
Copy to Clipboard
Source Grafana.com

Used Metrics 15

  • jdbc_connections_min

  • jdbc_connections_active

  • jdbc_connections_max

  • hikaricp_connections_active

  • hikaricp_connections_idle

  • hikaricp_connections_pending

  • hikaricp_connections_max

  • hikaricp_connections_min

  • hikaricp_connections_timeout_total

  • hikaricp_connections_usage_seconds_sum

  • hikaricp_connections_usage_seconds_count

  • hikaricp_connections_creation_seconds_sum

  • hikaricp_connections_creation_seconds_count

  • hikaricp_connections_acquire_seconds_sum

  • hikaricp_connections_acquire_seconds_count