File tree Expand file tree Collapse file tree 5 files changed +5
-2
lines changed
spring-boot-actuator-autoconfigure
src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/orm/jpa
spring-boot-tests/spring-boot-smoke-tests
spring-boot-smoke-test-data-jpa
spring-boot-smoke-test-flyway Expand file tree Collapse file tree 5 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ dependencies {
5555 optional(" io.micrometer:micrometer-registry-signalfx" )
5656 optional(" io.micrometer:micrometer-registry-statsd" )
5757 optional(" io.micrometer:micrometer-registry-wavefront" )
58+ optional(" org.hibernate:hibernate-micrometer" )
5859 optional(" io.projectreactor.netty:reactor-netty-http" )
5960 optional(" io.r2dbc:r2dbc-pool" )
6061 optional(" io.r2dbc:r2dbc-spi" )
Original file line number Diff line number Diff line change 2323import javax .persistence .PersistenceException ;
2424
2525import io .micrometer .core .instrument .MeterRegistry ;
26- import io .micrometer .core .instrument .binder .jpa .HibernateMetrics ;
2726import org .hibernate .SessionFactory ;
27+ import org .hibernate .stat .HibernateMetrics ;
2828
2929import org .springframework .beans .factory .SmartInitializingSingleton ;
3030import org .springframework .boot .actuate .autoconfigure .metrics .MetricsAutoConfiguration ;
Original file line number Diff line number Diff line change @@ -1178,7 +1178,7 @@ bom {
11781178 ]
11791179 }
11801180 }
1181- library(" Micrometer" , " 1.6.5 " ) {
1181+ library(" Micrometer" , " 1.7.0-M1 " ) {
11821182 group(" io.micrometer" ) {
11831183 modules = [
11841184 " micrometer-registry-stackdriver" {
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ dependencies {
1111 implementation(project(" :spring-boot-project:spring-boot-starters:spring-boot-starter-actuator" ))
1212
1313 runtimeOnly(" com.h2database:h2" )
14+ runtimeOnly(" org.hibernate:hibernate-micrometer" )
1415
1516 testImplementation(project(" :spring-boot-project:spring-boot-starters:spring-boot-starter-test" ))
1617}
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ dependencies {
1212
1313 runtimeOnly(" com.h2database:h2" )
1414 runtimeOnly(" org.flywaydb:flyway-core" )
15+ runtimeOnly(" org.hibernate:hibernate-micrometer" )
1516
1617 testImplementation(project(" :spring-boot-project:spring-boot-starters:spring-boot-starter-test" ))
1718}
You can’t perform that action at this time.
0 commit comments