Skip to content

Commit e175b2b

Browse files
AnnatarHeclaude
andcommitted
feat(daemon): parse event.kind from OTEL log record attributes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4f29416 commit e175b2b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

daemon/aicode_otel_processor.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,8 @@ func (p *AICodeOtelProcessor) parseLogRecord(lr *logsv1.LogRecord, resourceAttrs
422422
switch key {
423423
case "event.name":
424424
event.EventType = mapEventName(value.GetStringValue(), source)
425+
case "event.kind":
426+
event.EventKind = value.GetStringValue()
425427
case "event.timestamp":
426428
event.EventTimestamp = value.GetStringValue()
427429
case "model":

0 commit comments

Comments
 (0)