chore: Add a space in debug log for duration by lym953 · Pull Request #880 · DataDog/datadog-lambda-extension

Conversation

@lym953

Right now we have debug log like Flushing traces took 50ms. This PR adds a space between 50 and ms so it's easier to process the log. For example, we can use echo 'Flushing traces took 50 ms' | awk '{print $4}' to extract the 50.

duncanista

astuyve

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine, worth noting that this is printing wall clock time which may not equal CPU time, and some measurements span async work over multiple invocations

@lym953 lym953 deleted the yiming.luo/fmt-duration-log branch

October 1, 2025 18:34