Skip to content

Commit

Permalink
chore(monitoring): 모니터링용 서비스 모니터 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
HongYeseul committed Oct 30, 2024
1 parent f7c9854 commit 0f447bf
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions k8s/release/monitoring.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: spring-boot-app-monitor
namespace: monitoring
spec:
selector:
matchLabels:
app: spring-boot-app
namespaceSelector:
matchNames:
- grass-diary-backend-release
endpoints:
- port: 80
path: /actuator/prometheus
interval: 15s

0 comments on commit 0f447bf

Please sign in to comment.