File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
components/vector-kubearchive-log-collector/staging/stone-stg-rh01 Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,8 @@ customConfig:
103
103
# Direct connection to Loki service (no gateway)
104
104
endpoint : " http://vector-kubearchive-log-collector-loki.product-kubearchive-logging.svc.cluster.local:3100"
105
105
encoding :
106
- codec : " json"
106
+ codec : " text"
107
+ except_fields : ["tmp"]
107
108
auth :
108
109
strategy : " basic"
109
110
user : " ${LOKI_USERNAME}"
@@ -112,10 +113,12 @@ customConfig:
112
113
request :
113
114
headers :
114
115
X-Scope-OrgID : kubearchive
116
+ timeout_secs : 60
115
117
batch :
116
- max_bytes : 10485760
117
- timeout_secs : 300
118
- compression : " none"
118
+ max_bytes : 2097152
119
+ max_events : 1000
120
+ timeout_secs : 10
121
+ compression : " gzip"
119
122
labels :
120
123
job : " vector"
121
124
pod_id : " {{`{{ pod_id }}`}}"
@@ -125,7 +128,7 @@ customConfig:
125
128
buffer :
126
129
type : " memory"
127
130
max_events : 10000
128
- when_full : " block "
131
+ when_full : " drop_newest "
129
132
env :
130
133
- name : LOKI_USERNAME
131
134
valueFrom :
You can’t perform that action at this time.
0 commit comments