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)