Skip to content

Commit 4b43e6f

Browse files
committed
refactor: 필터를 위한 regex(표현식) 수정
1 parent 9d4f29a commit 4b43e6f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI/CD Pipeline to EC2 with Blue/Green
22

33
on:
44
push:
5-
branches: [main, dev, ci/env]
5+
branches: [main, dev]
66

77
# ───────────────────────────────────────────────────────────────
88
concurrency:

monitoring/promtail/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ scrape_configs:
3636
selector: '{container_name=~"lastdance-(blue|green)-app"}'
3737
stages:
3838
- regex:
39-
expression: '^(?P<timestamp>\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z)\s+(?P<level>\S+)\s+.*:\s+(?P<message>.*)$'
39+
expression: '^(?P<timestamp>\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z)\s+(?P<level>\S+)\s+\d+\s+---\s+\[.*?\]\s+\[.*?\]\s+(?P<logger>[\w.$]+)\s+:\s+(?P<message>.*)$'
4040
- timestamp:
4141
source: timestamp
4242
format: RFC3339Nano

0 commit comments

Comments
 (0)