Skip to content

feat: Add readiness debug log#607

Merged
astuyve merged 3 commits intomainfrom
aj/readiness-debug-log
Mar 13, 2025
Merged

feat: Add readiness debug log#607
astuyve merged 3 commits intomainfrom
aj/readiness-debug-log

Conversation

@astuyve
Copy link
Copy Markdown
Contributor

@astuyve astuyve commented Mar 13, 2025

Adds a debug message with our init duration for the extension specifically, measured by the time main begins to the time we call /next
aids in debugging/disambiguation cases
image

@astuyve astuyve requested a review from a team as a code owner March 13, 2025 17:32
Comment thread bottlecap/src/bin/bottlecap/main.rs
Copy link
Copy Markdown
Contributor

@duncanista duncanista left a comment

Choose a reason for hiding this comment

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

LGTM – wondering if we should merge the log that says "vXX version of the Datadog Extension", we can just add version and time it started in the same one, me thinks

@astuyve
Copy link
Copy Markdown
Contributor Author

astuyve commented Mar 13, 2025

I don't think so, because a lot can go wrong between when that log is emitted and we're done booting – I want to make sure we get the version number even if we fail to start, or fail over, for some reason.

@astuyve astuyve merged commit 8aa7ac2 into main Mar 13, 2025
33 checks passed
@astuyve astuyve deleted the aj/readiness-debug-log branch March 13, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants