From 5479b85968f9ff9503cf1f513c3914cd778bc5f1 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 29 Jul 2025 14:37:13 +0800 Subject: [PATCH 1/2] fix: separate timestamp parsing from json_parser to resolve time parsing error --- .../templates/central-storage/opentelemetry.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml b/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml index cc6db0a0..7c10defd 100644 --- a/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml +++ b/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml @@ -53,10 +53,10 @@ spec: - type: json_parser parse_from: body parse_to: attributes - timestamp: - parse_from: attributes.timestamp - layout: UnixMilli - location: UTC + - type: time_parser + parse_from: attributes.timestamp + layout: UnixMilli + location: UTC processors: resource: attributes: From 37db3b440406206239f2fb413730a67a712edd40 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 29 Jul 2025 14:46:13 +0800 Subject: [PATCH 2/2] fix: remove time_parser to use default timestamp handling --- .../templates/central-storage/opentelemetry.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml b/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml index 7c10defd..f06178cb 100644 --- a/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml +++ b/freeleaps/helm-pkg/centralStorage/templates/central-storage/opentelemetry.yaml @@ -53,10 +53,6 @@ spec: - type: json_parser parse_from: body parse_to: attributes - - type: time_parser - parse_from: attributes.timestamp - layout: UnixMilli - location: UTC processors: resource: attributes: