In Log SDK, the LogRecord::observed_timestamp is populated as:
|
record.observed_timestamp = Some(SystemTime::now()); |
However, after all the optimizations, the cost associated with this call is visible considerably ~20%:

A quick test by commenting it out increases stress test throughout to ~48k. Not sure about the solution for now, raising this issue to track it.