-
Notifications
You must be signed in to change notification settings - Fork 5
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
elapsed to Milliseconds #125
Conversation
WalkthroughThe recent updates to Changes
Assessment against linked issues
Poem
🐇💻✨ Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (3)
- listener.go (7 hunks)
- plugin.go (2 hunks)
- worker_pool.go (1 hunks)
Additional comments: 13
worker_pool.go (1)
- 72-72: The update to log the elapsed time in milliseconds using
zap.Int64("elapsed", time.Since(t).Milliseconds())
aligns well with the PR's objective to standardize elapsed time logging across the Roadrunner server. This change ensures consistency and improves the monitoring and analysis of log entries.listener.go (9)
- 41-41: The update to log the elapsed time in milliseconds for job processing start is consistent with the PR's objective and improves the clarity of log entries for performance monitoring.
- 46-46: Logging the elapsed time in milliseconds for job marshal errors enhances the consistency and usefulness of error logs, aligning with the PR's goals.
- 67-67: Including the elapsed time in milliseconds for job processing errors is a valuable improvement, ensuring consistent and detailed error logging.
- 87-87: The update to log the elapsed time in milliseconds for job processing errors within the response handling block maintains consistency and aids in performance analysis.
- 107-107: Logging the elapsed time in milliseconds when streaming is not supported provides clear and consistent feedback for unsupported operations.
- 143-143: Including the elapsed time in milliseconds for acknowledge errors offers better insight into job processing timelines and potential delays.
- 149-149: The update to log the elapsed time in milliseconds for successful job processing aligns with the PR's goals, enhancing log clarity and consistency.
- 162-162: Logging the elapsed time in milliseconds for response handler errors improves error log consistency and provides valuable timing information.
- 183-183: The update to log the elapsed time in milliseconds for successfully processed jobs ensures consistent and clear logging, facilitating performance analysis.
plugin.go (3)
- 373-373: Updating the logging of job push errors to include the elapsed time in milliseconds is consistent with the PR's objective, enhancing the clarity and usefulness of error logs.
- 381-381: The change to log the elapsed time in milliseconds for successful job pushes aligns with the PR's goals, improving log consistency and facilitating performance analysis.
- 417-417: Including the elapsed time in milliseconds for batch job push errors enhances the consistency and usefulness of error logs, aligning with the PR's objectives.
Partly closes roadrunner-server/roadrunner#1858
Summary by CodeRabbit
listener.go
related to job processing to include elapsed time in milliseconds.plugin.go
for job push errors and successes to include elapsed time as an integer.worker_pool.go
to include duration in milliseconds.