Skip to content

Commit

Permalink
changed to observedtimestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
shalper2 committed Aug 1, 2024
1 parent c0b52d2 commit e2999ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion receiver/webhookeventreceiver/req_to_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func reqToLog(sc *bufio.Scanner,

for sc.Scan() {
logRecord := scopeLog.LogRecords().AppendEmpty()
logRecord.SetTimestamp(pcommon.NewTimestampFromTime(time.Now()))
logRecord.SetObservedTimestamp(pcommon.NewTimestampFromTime(time.Now()))
line := sc.Text()
logRecord.Body().SetStr(line)
}
Expand Down

0 comments on commit e2999ef

Please sign in to comment.