{"adoption": {"forks": 98, "observed_at": "2026-08-28T04:03:25.424089+00:00", "stars": 1059}, "canonical_url": "https://ross.abutalabs.com/products/spring-boot-data-source-decorator", "card": {"archived": false, "artifact_type": "library", "description": "Spring Boot integration with p6spy, datasource-proxy, flexy-pool and spring-cloud-sleuth", "domain": ["databases", "developer-tools", "monitoring", "backend", "web-development"], "enriched": true, "function": ["logging", "monitoring", "tracing", "middleware", "database-driver", "configuration-management"], "health_score": 99, "homepage": null, "language": "Java", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["gavlyukovskiy/spring-boot-data-source-decorator"], "name": "gavlyukovskiy/spring-boot-data-source-decorator", "platform": ["jvm"], "pushed_at": "2026-08-24T21:23:39+00:00", "repo": "gavlyukovskiy/spring-boot-data-source-decorator", "stars": 1059, "tags": ["spring-boot-starter", "p6spy", "datasource-proxy", "flexy-pool", "jdbc", "sql-logging", "connection-pool", "auto-configuration", "sql-tracing", "query-interception", "spring-boot", "maven-central"], "topics": ["spring-boot", "spring-boot-starters", "p6spy", "flexy-pool", "datasource-proxy", "datasource", "spring-cloud-sleuth", "micrometer", "connection-pool", "jdbc", "sql-queries"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/spring-boot-data-source-decorator", "repo": "gavlyukovskiy/spring-boot-data-source-decorator", "role": "main", "score": 86}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.424089+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.157758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "754ae83d47217ebaf53a0ac15f0cd47c3fc747ab1b835b77d94ff4f540938a6d", "fetched_at": "2026-08-28T04:03:25.424089+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gavlyukovskiy/spring-boot-data-source-decorator"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.424089+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.157758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "754ae83d47217ebaf53a0ac15f0cd47c3fc747ab1b835b77d94ff4f540938a6d", "fetched_at": "2026-08-28T04:03:25.424089+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gavlyukovskiy/spring-boot-data-source-decorator"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.157758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "754ae83d47217ebaf53a0ac15f0cd47c3fc747ab1b835b77d94ff4f540938a6d", "fetched_at": "2026-08-28T04:03:25.424089+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gavlyukovskiy/spring-boot-data-source-decorator"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.424089+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.424089+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.424089+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.157758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "754ae83d47217ebaf53a0ac15f0cd47c3fc747ab1b835b77d94ff4f540938a6d", "fetched_at": "2026-08-28T04:03:25.424089+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gavlyukovskiy/spring-boot-data-source-decorator"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.424089+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.424089+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.157758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "754ae83d47217ebaf53a0ac15f0cd47c3fc747ab1b835b77d94ff4f540938a6d", "fetched_at": "2026-08-28T04:03:25.424089+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gavlyukovskiy/spring-boot-data-source-decorator"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.424089+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.424089+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.424089+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.157758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "754ae83d47217ebaf53a0ac15f0cd47c3fc747ab1b835b77d94ff4f540938a6d", "fetched_at": "2026-08-28T04:03:25.424089+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gavlyukovskiy/spring-boot-data-source-decorator"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.424089+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.424089+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.157758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "754ae83d47217ebaf53a0ac15f0cd47c3fc747ab1b835b77d94ff4f540938a6d", "fetched_at": "2026-08-28T04:03:25.424089+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gavlyukovskiy/spring-boot-data-source-decorator"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.157758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "754ae83d47217ebaf53a0ac15f0cd47c3fc747ab1b835b77d94ff4f540938a6d", "fetched_at": "2026-08-28T04:03:25.424089+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gavlyukovskiy/spring-boot-data-source-decorator"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.157758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "754ae83d47217ebaf53a0ac15f0cd47c3fc747ab1b835b77d94ff4f540938a6d", "fetched_at": "2026-08-28T04:03:25.424089+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gavlyukovskiy/spring-boot-data-source-decorator"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.157758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "754ae83d47217ebaf53a0ac15f0cd47c3fc747ab1b835b77d94ff4f540938a6d", "fetched_at": "2026-08-28T04:03:25.424089+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gavlyukovskiy/spring-boot-data-source-decorator"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 60}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3424, "days_push": 9, "days_rel": 110, "gap_med": 125, "n_releases_24m": 6}, "score": 86, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}