Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

fix: on error send (#5851)

Kian Jonesff5f8d9a8590
diff --git a/otel/otel-collector-config-clickhouse-prod.yaml b/otel/otel-collector-config-clickhouse-prod.yaml
index bc68fa47e..4a09d0e4c 100644
--- a/otel/otel-collector-config-clickhouse-prod.yaml
+++ b/otel/otel-collector-config-clickhouse-prod.yaml
@@ -9,14 +9,16 @@ receivers:
include:
- /root/.letta/logs/Letta.log
operators:
- # Parse JSON logs
+ # Parse JSON logs (skip non-JSON lines)
- type: json_parser
parse_from: body
parse_to: attributes
+ on_error: send
- type: time_parser
parse_from: attributes.timestamp
layout_type: gotime
layout: '2006-01-02T15:04:05.999999Z07:00'
+ on_error: send
processors:
memory_limiter:
diff --git a/otel/otel-collector-config-clickhouse.yaml b/otel/otel-collector-config-clickhouse.yaml
index 57d2f7a5e..e0479d560 100644
--- a/otel/otel-collector-config-clickhouse.yaml
+++ b/otel/otel-collector-config-clickhouse.yaml
@@ -9,14 +9,16 @@ receivers:
include:
- /root/.letta/logs/Letta.log
operators:
- # Parse JSON logs
+ # Parse JSON logs (skip non-JSON lines)
- type: json_parser
parse_from: body
parse_to: attributes
+ on_error: send
- type: time_parser
parse_from: attributes.timestamp
layout_type: gotime
layout: '2006-01-02T15:04:05.999999Z07:00'
+ on_error: send
processors:
memory_limiter: