From 3135237e8b8f69ba59af07be1874a52ddab38a72 Mon Sep 17 00:00:00 2001 From: shimoncohen Date: Tue, 23 Jun 2026 13:45:59 +0300 Subject: [PATCH] fix(log format): service name should be taken from name ovveride and default to nginx --- helm/config/log_format.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/config/log_format.conf b/helm/config/log_format.conf index 4fd71c6..8dc82ee 100644 --- a/helm/config/log_format.conf +++ b/helm/config/log_format.conf @@ -43,7 +43,7 @@ log_format main escape=json '"Resource":{' # Additional important log details should be added here '"host.name":"$hostname",' - '"service.name":"{{ .Values.image.repository }}",' + '"service.name":"{{ .Values.nameOverride | default "nginx" }}",' '"service.version":"{{ .Values.image.tag }}"' '},' '"TraceId":"$otel_trace_id",' ## this is a byte sequence (hex-encoded in JSON)