mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 12:15:50 +00:00
Add observability support with wavefront
This commit is contained in:
parent
02babdd8cb
commit
1bc63bbe2a
2 changed files with 34 additions and 0 deletions
31
pom.xml
31
pom.xml
|
@ -30,6 +30,8 @@
|
|||
<jacoco.version>0.8.5</jacoco.version>
|
||||
<nohttp-checkstyle.version>0.0.4.RELEASE</nohttp-checkstyle.version>
|
||||
<spring-format.version>0.0.25</spring-format.version>
|
||||
<spring-cloud.version>2020.0.0</spring-cloud.version>
|
||||
<wavefront.version>2.1.0-RC1</wavefront.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -114,6 +116,16 @@
|
|||
</dependency>
|
||||
<!-- end of webjars -->
|
||||
|
||||
<!-- observability -->
|
||||
<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-devtools</artifactId>
|
||||
|
@ -121,6 +133,25 @@
|
|||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-dependencies</artifactId>
|
||||
<version>${spring-cloud.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.wavefront</groupId>
|
||||
<artifactId>wavefront-spring-boot-bom</artifactId>
|
||||
<version>${wavefront.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
|
|
@ -23,3 +23,6 @@ logging.level.org.springframework=INFO
|
|||
|
||||
# Maximum time static resources should be cached
|
||||
spring.resources.cache.cachecontrol.max-age=12h
|
||||
|
||||
spring.application.name=spring-petclinic
|
||||
wavefront.application.name=spring-demos
|
||||
|
|
Loading…
Reference in a new issue