Druid Connection Pool Dashboard
Alibaba Druid Connection Pool Monitoring via Promethus & SpringBoot Actuator & Micrometer
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
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
Revision | Description | Created | |
---|---|---|---|
Download |