skywalking-java/apm-sniffer/apm-sdk-plugin/hikaricp-3.x-4.x-plugin
Evgeniy Devyatykh f971bcf0fd
To prevent NPE use pool name for metrics if JDBC URL is not set. (#754)
HikariCP pool can be configured using JDBC URL:
```
HikariConfig config = new HikariConfig();
config.setJdbcUrl("jdbc:mysql://localhost:3306/simpsons");
```
or using data source properties
```
Properties props = new Properties();
props.setProperty("dataSourceClassName", "org.postgresql.ds.PGSimpleDataSource");
props.setProperty("dataSource.serverName", "localhost");
...
HikariConfig config = new HikariConfig(props);
HikariDataSource ds = new HikariDataSource(config)
```
2025-05-07 21:14:51 +08:00
..
src/main To prevent NPE use pool name for metrics if JDBC URL is not set. (#754) 2025-05-07 21:14:51 +08:00
pom.xml Release 9.4.0 and prepare 9.5.0 (#750) 2025-02-19 23:03:01 +08:00