Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surface slow interrupt warnings in the executor logs #8094

Merged
merged 2 commits into from
Dec 20, 2024
Merged

Conversation

bduffany
Copy link
Member

I'd like to understand if these slow interrupt warnings are correlated with higher action failure rates. By logging these we can get a rough frequency chart from GCP then compare that to the action failure metrics in Grafana.

// and may help explain action failures - surface these in the executor
// logs.
if warning := c.parseSlowInterruptWarning(); warning != "" {
log.CtxWarningf(ctx, "Slow interrupt warning reported in kernel logs: %q", warning)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: We could consolidate some of the logic in the 3 parseX functions. We translate the vmlog bytes buffer to a string 3 times in a row

Copy link
Member Author

Choose a reason for hiding this comment

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

Factored out the logic for converting to string and replacing \r\n with \n

@bduffany bduffany merged commit 1009ceb into master Dec 20, 2024
15 checks passed
@bduffany bduffany deleted the hrtimer-logs branch December 20, 2024 19:10
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.

3 participants