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
Enhance workflow logs #7222
Enhance workflow logs #7222
Conversation
Signed-off-by: Shivam Kumar <shivamkm07@gmail.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.
Mostly small suggestions, overall looks good.
@@ -58,7 +58,7 @@ const ( | |||
|
|||
var ( | |||
wfLogger = logger.NewLogger("dapr.runtime.wfengine") | |||
wfBackendLogger = logger.NewLogger("wfengine.backend") | |||
wfBackendLogger = logger.NewLogger("wfengine.durabletask.backend") |
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.
Does this change the anything about the logs? Like will customers who have setup scrapes/scans of the logs be broken by this change?
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.
Our logs aren't stable so it's probably ok.
However, I don't know if exposing an internal thing (that it uses durable task library) adds anything compared to what it is today.
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.
I added the change just to differentiate that these logs coming from DurableTask library and not Dapr runtime, as mentioned here: #7065 (comment) But if it breaks anything, I can remove it as well.
Signed-off-by: Shivam Kumar <shivamkm07@gmail.com>
Signed-off-by: Shivam Kumar <shivamkm07@gmail.com>
Signed-off-by: Shivam Kumar <shivamkm07@gmail.com>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #7222 +/- ##
=======================================
Coverage 64.56% 64.57%
=======================================
Files 225 225
Lines 21050 21037 -13
=======================================
- Hits 13591 13584 -7
+ Misses 6297 6290 -7
- Partials 1162 1163 +1 ☔ View full report in Codecov by Sentry. |
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.
@shivamkm07 small change
@mukundansundar a reminder that we are blocking workflow PRs until #7241 |
* Adding more logs for workflow executions Signed-off-by: Shivam Kumar <shivamkm07@gmail.com> * fix typo Signed-off-by: Shivam Kumar <shivamkm07@gmail.com> * Adding quotes to be consistent Signed-off-by: Shivam Kumar <shivamkm07@gmail.com> * capitalizing log start Signed-off-by: Shivam Kumar <shivamkm07@gmail.com> --------- Signed-off-by: Shivam Kumar <shivamkm07@gmail.com> Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> Co-authored-by: Loong Dai <long.dai@intel.com>
* Adding more logs for workflow executions Signed-off-by: Shivam Kumar <shivamkm07@gmail.com> * fix typo Signed-off-by: Shivam Kumar <shivamkm07@gmail.com> * Adding quotes to be consistent Signed-off-by: Shivam Kumar <shivamkm07@gmail.com> * capitalizing log start Signed-off-by: Shivam Kumar <shivamkm07@gmail.com> --------- Signed-off-by: Shivam Kumar <shivamkm07@gmail.com> Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> Co-authored-by: Loong Dai <long.dai@intel.com>
* Adding more logs for workflow executions Signed-off-by: Shivam Kumar <shivamkm07@gmail.com> * fix typo Signed-off-by: Shivam Kumar <shivamkm07@gmail.com> * Adding quotes to be consistent Signed-off-by: Shivam Kumar <shivamkm07@gmail.com> * capitalizing log start Signed-off-by: Shivam Kumar <shivamkm07@gmail.com> --------- Signed-off-by: Shivam Kumar <shivamkm07@gmail.com> Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> Co-authored-by: Loong Dai <long.dai@intel.com>
Description
This PR adds more logs to runtime for better debugging.
Issue reference
Please reference the issue this PR will close: #7065
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: