Add slueth and wavefront

This commit is contained in:
machih 2020-11-30 14:14:32 +09:00
parent 8b1ac6736e
commit 2cf6a34add
2 changed files with 30 additions and 0 deletions

27
pom.xml
View file

@ -32,8 +32,35 @@
<spring-format.version>0.0.25</spring-format.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.wavefront</groupId>
<artifactId>wavefront-spring-boot</artifactId>
<version>2.0.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Hoxton.SR8</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- Spring and Spring Boot dependencies -->
<dependency>
<groupId>com.wavefront</groupId>
<artifactId>wavefront-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>

View file

@ -23,3 +23,6 @@ logging.level.org.springframework=INFO
# Maximum time static resources should be cached
spring.resources.cache.cachecontrol.max-age=12h
wavefront.application.name=spring-demo
wavefront.application.service=spring-petclinic