feat: remove file export for otel traces (#3691)

This commit is contained in:
cthomas
2025-07-31 17:26:20 -07:00
committed by GitHub
parent a805427f8d
commit abfe742665
2 changed files with 8 additions and 7 deletions

View File

@@ -10,6 +10,13 @@ receivers:
- /root/.letta/logs/Letta.log
multiline:
line_start_pattern: ^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2},\d{3}
operators:
# Extract timestamp and other fields
- type: regex_parser
regex: '^(?P<timestamp>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2},\d{3})\s+.*'
- type: time_parser
parse_from: attributes.timestamp
layout: '%Y-%m-%d %H:%M:%S,%L'
processors:
batch:

View File

@@ -12,12 +12,6 @@ processors:
send_batch_size: 1024
exporters:
file:
path: /root/.letta/logs/traces.json
rotation:
max_megabytes: 100
max_days: 7
max_backups: 5
clickhouse:
endpoint: ${CLICKHOUSE_ENDPOINT}
database: ${CLICKHOUSE_DATABASE}
@@ -40,4 +34,4 @@ service:
traces:
receivers: [otlp]
processors: [batch]
exporters: [file, clickhouse]
exporters: [clickhouse]