mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-16 12:45:48 +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>
|
<jacoco.version>0.8.5</jacoco.version>
|
||||||
<nohttp-checkstyle.version>0.0.4.RELEASE</nohttp-checkstyle.version>
|
<nohttp-checkstyle.version>0.0.4.RELEASE</nohttp-checkstyle.version>
|
||||||
<spring-format.version>0.0.25</spring-format.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>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
@ -114,6 +116,16 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- end of webjars -->
|
<!-- 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>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-devtools</artifactId>
|
<artifactId>spring-boot-devtools</artifactId>
|
||||||
|
@ -121,6 +133,25 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</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>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|
|
@ -23,3 +23,6 @@ logging.level.org.springframework=INFO
|
||||||
|
|
||||||
# Maximum time static resources should be cached
|
# Maximum time static resources should be cached
|
||||||
spring.resources.cache.cachecontrol.max-age=12h
|
spring.resources.cache.cachecontrol.max-age=12h
|
||||||
|
|
||||||
|
spring.application.name=spring-petclinic
|
||||||
|
wavefront.application.name=spring-demos
|
||||||
|
|
Loading…
Reference in a new issue