feat(zipkin): 모니터링 시스템 zipkin 추가
This commit is contained in:
@@ -33,6 +33,9 @@ dependencies {
|
||||
// https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api
|
||||
implementation 'javax.xml.bind:jaxb-api:2.3.1'
|
||||
implementation 'org.springframework.cloud:spring-cloud-starter-config'
|
||||
// zipkin & sleuth
|
||||
implementation 'org.springframework.cloud:spring-cloud-starter-sleuth'
|
||||
implementation 'org.springframework.cloud:spring-cloud-starter-zipkin:2.2.3.RELEASE'
|
||||
|
||||
compileOnly 'org.projectlombok:lombok'
|
||||
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
||||
|
||||
@@ -15,10 +15,17 @@ spring:
|
||||
default: dev
|
||||
config:
|
||||
import: optional:configserver:http://127.0.0.1:8888
|
||||
|
||||
zipkin:
|
||||
base-url: http://127.0.0.1:9411
|
||||
enabled: true
|
||||
sleuth:
|
||||
sampler:
|
||||
probability: 1.0
|
||||
|
||||
cloud:
|
||||
config:
|
||||
name: bootstrap
|
||||
|
||||
gateway:
|
||||
default-filters:
|
||||
- name: GlobalFilter
|
||||
|
||||
Reference in New Issue
Block a user