Skip to content

Commit a0799e3

Browse files
authored
fix(docker): bump vector from 0.28.1 to 0.53.0 for ARM page size support (#4988)
2 parents e8ef41e + d5c5aa6 commit a0799e3

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

internal/start/templates/vector.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,13 @@ transforms:
4949
.metadata.request.headers.referer = req.referer
5050
.metadata.request.headers.user_agent = req.agent
5151
.metadata.request.headers.cf_connecting_ip = req.client
52-
.metadata.request.method = req.method
53-
.metadata.request.path = req.path
54-
.metadata.request.protocol = req.protocol
5552
.metadata.response.status_code = req.status
53+
url, split_err = split(req.request, " ")
54+
if split_err == null {
55+
.metadata.request.method = url[0]
56+
.metadata.request.path = url[1]
57+
.metadata.request.protocol = url[2]
58+
}
5659
}
5760
if err != null {
5861
abort
@@ -101,7 +104,7 @@ transforms:
101104
parsed, err = parse_regex(.event_message, r'^(?P<time>.*): (?P<msg>.*)$')
102105
if err == null {
103106
.event_message = parsed.msg
104-
.timestamp = to_timestamp!(parsed.time)
107+
.timestamp = parse_timestamp!(value: parsed.time, format: "%d/%b/%Y:%H:%M:%S %z")
105108
.metadata.host = .project
106109
}
107110
# Realtime logs are structured so we parse the severity level using regex (ignore time because it has no date)

pkg/config/templates/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ FROM supabase/postgres-meta:v0.96.1 AS pgmeta
88
FROM supabase/studio:2026.03.23-sha-b7847b7 AS studio
99
FROM darthsim/imgproxy:v3.8.0 AS imgproxy
1010
FROM supabase/edge-runtime:v1.73.0 AS edgeruntime
11-
FROM timberio/vector:0.28.1-alpine AS vector
11+
FROM timberio/vector:0.53.0-alpine AS vector
1212
FROM supabase/supavisor:2.7.4 AS supavisor
1313
FROM supabase/gotrue:v2.188.1 AS gotrue
1414
FROM supabase/realtime:v2.78.18 AS realtime

0 commit comments

Comments
 (0)