Druid Connection Pool Dashboard

Dashboard

Alibaba Druid Connection Pool Monitoring via Promethus & SpringBoot Actuator & Micrometer
Last updated: 6 months ago

Downloads: 240

Reviews: 2

  • sql.png
    sql.png
  • pooloverview.png
    pooloverview.png

Please register druid metrics data into Micrometer registry at first.

Dependencies and Configuration

compile "org.springframework.boot:spring-boot-starter-actuator:2.0.6.RELEASE"
compile 'io.micrometer:micrometer-registry-prometheus:1.0.6'
# yaml configuration:  include "*" or include "prometheus"
management:
  endpoints:
    web:
      exposure:
        include: "*"

Source Code for Integration

Download Link: http://filecdn.code2life.top/DruidMetrics.zip

/* This line may need be changed depend on spring or druid version */
DruidDataSource druidDataSource = dataSource.unwrap(DruidDataSource.class);

Please contact ywb569475269@gmail.com for any questions