{"repo":"gavlyukovskiy/spring-boot-data-source-decorator","free":true,"listed":false,"github":"https://github.com/gavlyukovskiy/spring-boot-data-source-decorator","clone":"git clone https://github.com/gavlyukovskiy/spring-boot-data-source-decorator.git","description":"Spring Boot integration with p6spy, datasource-proxy, flexy-pool and spring-cloud-sleuth","language":"Java","stars":1058,"topics":["spring-boot","spring-boot-starters","p6spy","flexy-pool","datasource-proxy","datasource","spring-cloud-sleuth","micrometer","connection-pool","jdbc"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Spring Boot DataSource Decorator Spring Boot auto-configuration for integration with P6Spy - adds ability to intercept and log sql queries, including interception of a most Connection , Statement and ResultSet methods invocations Datasource Proxy - adds ability to intercept all queries and Connection , Statement and ResultSet method calls FlexyPool - adds connection pool metrics (jmx, codahale, dropwizard) and flexible strategies for adjusting pool size on demand Why not wrap DataSource in a configuration? Instead of using the library you can manually wrap your DataSource , but this library also provides ability to use @ConfigurationProperties provided by Spring Boot ( spring.datasource.hikari. , spring.datasource.dbcp2. ) disabling decorating by deployment property decorator.datasource.enabled=true/false configure proxies through spring properties application.properties/yml and customize proxies by defining beans in the spring context Quick Start Add one of the starters to the classpath of a Spring Boot 4 application and your datasources (auto-configured or custom) will be wrapped into one of a datasource proxy providers below. Spring Boot compatibility Spring Boot Version Starter Version --------------------- -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/gavlyukovskiy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gavlyukovskiy/spring-boot-data-source-decorator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}