Skip to content

Commit b7474bf

Browse files
authored
Merge pull request #175 from prgrms-aibe-devcourse/feature/metrics
fix: 프로메테우스 Label 수정
2 parents be9f064 + 0fed673 commit b7474bf

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,4 @@ jobs:
9797
echo "::error::Deployment failed with status: $STATUS"
9898
exit 1
9999
fi
100-
echo "Deployment succeeded ✅"
101-
100+
echo "Deployment succeeded ✅"

src/main/resources/application.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ management:
4040
web:
4141
exposure:
4242
include: health, prometheus # CI/CD health check와 메트릭 수집도구 프로메테우스
43+
metrics:
44+
tags:
45+
application: rootin-be # 매트릭에 태그 추가
4346
endpoint:
4447
health:
4548
show-details: never

0 commit comments

Comments
 (0)