Skip to content

Commit ee00696

Browse files
committed
deploy: micrometer-tracing 의존성 추가 (#58)
1 parent a9304b1 commit ee00696

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

build.gradle

+3
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ dependencies {
4343
implementation platform("org.springframework.ai:spring-ai-bom:1.0.0-SNAPSHOT")
4444
implementation 'org.springframework.ai:spring-ai-vertex-ai-gemini-spring-boot-starter:1.0.0-SNAPSHOT'
4545

46+
implementation 'io.micrometer:micrometer-tracing:latest.release'
47+
implementation 'io.micrometer:micrometer-tracing-bridge-brave:latest.release'
48+
4649
// Swagger
4750
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.6.0'
4851

docker-compose.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
services:
22
springboot:
3-
container_name: someup # ec2내에서 동작하는 컨테이너명
3+
container_name: someup
44
image: someupsite/someup:latest
55
ports:
66
- 8080:8080
77
environment:
8-
- SPRING_PROFILES_ACTIVE=dev-env # 사용할 profile
8+
- SPRING_PROFILES_ACTIVE=dev-env
99
- GOOGLE_APPLICATION_CREDENTIALS=/credentials/application_default_credentials.json
1010
volumes:
1111
- /home/ubuntu/.config/gcloud/application_default_credentials.json:/credentials/application_default_credentials.json
1212
networks:
1313
- my_network
1414

15-
1615
redis:
1716
image: redis
1817
container_name: redis-cache
19-
command: [ "redis-server", "--port", "6379" ] # 비밀번호 설정 제거
18+
command: ["redis-server", "--port", "6379"]
2019
ports:
2120
- 6379:6379
2221
networks:

src/main/java/project/backend/BackendApplication.java

-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ public class BackendApplication {
99
public static void main(String[] args) {
1010
SpringApplication.run(BackendApplication.class, args);
1111
}
12-
1312
}

0 commit comments

Comments
 (0)