Rename spring-boot-micrometer-observation to spring-boot-observation

This commit is contained in:
Andy Wilkinson
2025-05-30 11:01:15 +01:00
committed by Phillip Webb
parent 9c634d2fb0
commit 357c441cff
60 changed files with 72 additions and 102 deletions

View File

@@ -17,7 +17,7 @@ dependencies {
optional(project(":spring-boot-project:spring-boot-autoconfigure"))
optional(project(":spring-boot-project:spring-boot-jpa"))
optional(project(":spring-boot-project:spring-boot-micrometer-observation"))
optional(project(":spring-boot-project:spring-boot-observation"))
testImplementation(project(":spring-boot-project:spring-boot-flyway"))
testImplementation(project(":spring-boot-project:spring-boot-liquibase"))

View File

@@ -33,8 +33,7 @@ import org.springframework.context.annotation.Bean;
* @author Mark Bonnekessel
* @since 4.0.0
*/
@AutoConfiguration(
afterName = "org.springframework.boot.micrometer.observation.autoconfigure.ObservationAutoConfiguration")
@AutoConfiguration(afterName = "org.springframework.boot.observation.autoconfigure.ObservationAutoConfiguration")
@ConditionalOnBean(ObservationRegistry.class)
@ConditionalOnClass({ ObservationRegistry.class, BatchObservabilityBeanPostProcessor.class })
public class BatchObservationAutoConfiguration {