receivers: otlp: protocols: grpc: endpoint: 0.0.0.0:4317 http: endpoint: 0.0.0.0:4318 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\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2},\d{3})\s+-\s+(?P[\w\.-]+)\s+-\s+(?P\w+)\s+-\s+(?P.*)$' # Parse the timestamp - type: time_parser parse_from: attributes.timestamp layout: '%Y-%m-%d %H:%M:%S,%L' # Set severity - type: severity_parser parse_from: attributes.severity mapping: debug: DEBUG info: INFO warning: WARN error: ERROR critical: FATAL # Add resource attributes - type: add field: resource.service_name value: letta-server - type: add field: resource.environment value: ${ENV_NAME} processors: batch: timeout: 1s send_batch_size: 1024 exporters: clickhouse: endpoint: ${CLICKHOUSE_ENDPOINT} database: ${CLICKHOUSE_DATABASE} username: ${CLICKHOUSE_USERNAME} password: ${CLICKHOUSE_PASSWORD} timeout: 5s sending_queue: queue_size: 100 retry_on_failure: enabled: true initial_interval: 5s max_interval: 30s max_elapsed_time: 300s extensions: health_check: pprof: zpages: service: telemetry: logs: level: debug development: true metrics: address: 0.0.0.0:8888 extensions: [health_check, pprof, zpages] pipelines: traces: receivers: [otlp] processors: [batch] exporters: [clickhouse] logs: receivers: [filelog] processors: [batch] exporters: [clickhouse] metrics: receivers: [otlp] processors: [batch] exporters: [clickhouse]