2022-12-28 15:47:49 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2023-05-24 10:07:51 -04:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2022-12-28 15:47:49 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>spring-boot-3-observation</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>spring-boot-3-observation</name>
|
|
|
|
<description>Demo project for Spring Boot 3 Observation</description>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-boot-3</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<relativePath>../../parent-boot-3</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.micrometer</groupId>
|
|
|
|
<artifactId>micrometer-tracing</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.micrometer</groupId>
|
|
|
|
<artifactId>micrometer-tracing-bridge-brave</artifactId>
|
|
|
|
<!--artifactId>micrometer-tracing-bridge-otel</artifactId-->
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.micrometer</groupId>
|
|
|
|
<artifactId>micrometer-observation-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.micrometer</groupId>
|
|
|
|
<artifactId>micrometer-tracing-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- get ObservationRegistry configured -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- @Observed -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
</dependency>
|
2023-05-08 11:29:52 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- get latest version from https://github.com/gavlyukovskiy/spring-boot-data-source-decorator/releases-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.gavlyukovskiy</groupId>
|
|
|
|
<artifactId>p6spy-spring-boot-starter</artifactId>
|
|
|
|
<version>1.9.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2022-12-28 15:47:49 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
2023-05-08 11:29:52 -04:00
|
|
|
<properties>
|
|
|
|
<start-class>com.baeldung.samples.SimpleObservationApplication</start-class>
|
|
|
|
</properties>
|
|
|
|
|
2022-12-28 15:47:49 -05:00
|
|
|
</project>
|