Ross ROSS = Recommend OSS · open-source software intelligence for agents

gavlyukovskiy/spring-boot-data-source-decorator

Spring Boot integration with p6spy, datasource-proxy, flexy-pool and spring-cloud-sleuth observed · 2026-08-28

github.com/gavlyukovskiy/spring-boot-data-source-decorator · Java · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

86/100

  • Activity 99
  • Release rhythm 60
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 125
  • age_days: 3424
  • days_rel: 110
  • days_push: 9
  • n_releases_24m: 6

Full methodology

Adoption not part of the score

1059 stars · 98 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Spring Boot auto-configuration library that transparently wraps JDBC DataSources with decorators like P6Spy, datasource-proxy, and FlexyPool. It enables SQL query logging, connection/statement interception, and connection pool metrics via simple starter dependencies and Spring properties.

Use cases

  • log all SQL queries executed by a Spring Boot application
  • intercept JDBC Connection, Statement, and ResultSet method calls for debugging
  • collect connection pool metrics with FlexyPool and Micrometer
  • trace database queries with Spring Cloud Sleuth
  • configure datasource proxies via application.properties without manual DataSource wrapping
  • toggle query logging on and off per deployment with a property flag

When to choose

  • You use Spring Boot with HikariCP, DBCP2, or other pooled DataSources and want SQL logging or pool metrics without writing custom DataSource wrapper code
  • You want declarative, property-based configuration of P6Spy or datasource-proxy
  • You need to keep Spring Boot's @ConfigurationProperties datasource features intact while adding decorators

When to avoid

  • You are not using Spring Boot or the JVM/Java ecosystem
  • You need a general-purpose JDBC proxy outside of Spring Boot auto-configuration
  • You only need simple SQL logging and prefer a lightweight standalone solution like P6Spy directly

Facets

library · maturity active

logging monitoring tracing middleware database-driver configuration-management databases developer-tools monitoring backend web-development jvm spring-boot-starter p6spy datasource-proxy flexy-pool jdbc sql-logging connection-pool auto-configuration sql-tracing query-interception spring-boot maven-central

1 source

Member repositories

For agents

markdown · JSON · MCP: product_card(name="gavlyukovskiy/spring-boot-data-source-decorator")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem