Skip to content

Commit

Permalink
Merge pull request #46 from YAPP-Github/feature/#45
Browse files Browse the repository at this point in the history
feat: ์‚ฌ์ง„ ๋“ฑ๋ก API ๋น„๋กœ๊ทธ์ธ ์ƒํƒœ์—์„œ๋„ ํ˜ธ์ถœ ๊ฐ€๋Šฅ
  • Loading branch information
CChuYong authored Jul 22, 2024
2 parents 6883c71 + 66c81e0 commit 8b32eed
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api-gateway/src/main/resources/application-prod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
management:
tracing:
enabled: true
8 changes: 8 additions & 0 deletions api-gateway/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ spring:
filters:
- JWTAuthenticationFilter
- RewritePath=/user/(?<segment>/?.*), /$\{segment}
- id: photo-service-add-photo
uri: http://photo-service
predicates:
- Path=/photo/v1/photos
- Method=POST
filters:
- RewritePath=/photo/(?<segment>/?.*), /$\{segment}
- id: photo-service
uri: http://photo-service
predicates:
Expand All @@ -64,6 +71,7 @@ management:
tracing:
sampling:
probability: 1.0
enabled: false
zipkin:
tracing:
endpoint: http://zipkin/api/v2/spans
Expand Down
3 changes: 3 additions & 0 deletions photo-service/src/main/resources/application-prod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
management:
tracing:
enabled: true
1 change: 1 addition & 0 deletions photo-service/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ management:
tracing:
sampling:
probability: 1.0
enabled: false
zipkin:
tracing:
endpoint: http://zipkin/api/v2/spans
3 changes: 3 additions & 0 deletions user-service/src/main/resources/application-prod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
management:
tracing:
enabled: true
1 change: 1 addition & 0 deletions user-service/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ management:
tracing:
sampling:
probability: 1.0
enabled: false
zipkin:
tracing:
endpoint: http://zipkin/api/v2/spans

0 comments on commit 8b32eed

Please sign in to comment.