Spring Dynatrace #WIP#
https://github.com/spring-boot-tutorials/spring-observability-dynatrace
Create Initial Code Base
Go to https://start.spring.io/
Add the following dependencies:
spring-boot-starter-actuator
spring-boot-starter-web
micrometer-registry-dynatrace
lombok
Click
Generate
Dependencies
Dependencies used in pom.xml
:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-dynatrace</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>