We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2c2bcb commit be71d08Copy full SHA for be71d08
1 file changed
monitoring/promtail/config.yml
@@ -42,6 +42,10 @@ scrape_configs:
42
format: RFC3339Nano
43
- labels:
44
level:
45
+ - drop:
46
+ # level이 INFO 이하인 로그는 보내지 않음 (DEBUG/TRACE 등 불필요한 로그 차단)
47
+ source: level
48
+ regex: 'DEBUG|TRACE'
49
50
# 'monitoring-stack' job의 로그에만 logfmt을 적용합니다.
51
- match:
@@ -61,6 +65,10 @@ scrape_configs:
61
65
62
66
63
67
68
69
70
71
+ regex: 'DEBUG|TRACE|INFO'
64
72
# 필요하다면 다른 추출 필드를 라벨로 추가할 수 있습니다:
73
#component:
74
# caller:
0 commit comments