jdbc-observations / datasource-micrometer

Micrometer Observation API instrumentation and Spring Boot 3 Auto-Configuration for JDBC APIs
Apache License 2.0
50 stars 8 forks source link

Add an integration test for auto-config #2

Open ttddyy opened 1 year ago

ttddyy commented 1 year ago

This PR adds an integration test for datasource observation auto-configuration. Since this changeset requires Spring Boot to use micrometer 1.10.M4 or higher, I'll wait to merge this PR until https://github.com/spring-projects/spring-boot/pull/32048 gets merged to the Spring Boot.

Background

Currently, Spring Boot snapshot uses micrometer 1.10.0.M3 but this PR requires micrometer 1.10.M4 or higher. While developing, I used locally built Spring Boot with https://github.com/spring-projects/spring-boot/pull/32048, which upgrades micrometer to M4.