feat: add profiling and structured logging (#5690)

* test dd build

* dd agent in cluster

* quick poc

* refactor and add logging

* remove tracing etc.

* add changes to otel logging config

* refactor to accept my feedback

* finishing touches
This commit is contained in:
Kian Jones
2025-10-23 15:50:30 -07:00
committed by Caren Thomas
parent 8872a3b954
commit 1577a261d8
7 changed files with 365 additions and 34 deletions

View File

@@ -8,15 +8,15 @@ receivers:
filelog:
include:
- /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+.*'
# Parse JSON logs
- type: json_parser
parse_from: body
parse_to: attributes
- type: time_parser
parse_from: attributes.timestamp
layout: '%Y-%m-%d %H:%M:%S,%L'
layout_type: gotime
layout: '2006-01-02T15:04:05.999999Z07:00'
processors:
memory_limiter: