From 2cf6a34adda9d8aac420ca62229797f42309cf5c Mon Sep 17 00:00:00 2001 From: machih Date: Mon, 30 Nov 2020 14:14:32 +0900 Subject: [PATCH] Add slueth and wavefront --- pom.xml | 27 +++++++++++++++++++++++ src/main/resources/application.properties | 3 +++ 2 files changed, 30 insertions(+) diff --git a/pom.xml b/pom.xml index 16c314d13..3ac2d72c4 100644 --- a/pom.xml +++ b/pom.xml @@ -32,8 +32,35 @@ 0.0.25 + + + + com.wavefront + wavefront-spring-boot + 2.0.2 + pom + import + + +org.springframework.cloud +spring-cloud-dependencies +Hoxton.SR8 +pom +import + + + + + + com.wavefront + wavefront-spring-boot-starter + + + org.springframework.cloud + spring-cloud-starter-sleuth + org.springframework.boot spring-boot-starter-actuator diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 4d4784e36..492b47424 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -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