-
-
Notifications
You must be signed in to change notification settings - Fork 534
queue_job: add exec time to view some stats #309
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
Conversation
368afe1 to
d6ce142
Compare
|
@guewen I guess the test is wrong here because |
It's not wrong, for this test, the initial state |
d6ce142 to
f0f6f22
Compare
|
better? |
guewen
left a comment
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.
Yes, thanks!! ❤️
sebalix
left a comment
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.
Small comment, approving
etobella
left a comment
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.
Code Review
b84fc86 to
14862e2
Compare
| <field name="exec_time" type="measure" /> | ||
| </graph> | ||
| </field> | ||
| </record> |
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 think a pivot view gives better information:
<pivot string="Queue Job">
<field name="exec_time" type="measure"/>
<field name="job_function_id" type="row"/>
<field name="date_done" type="col" interval="week"/>
</pivot>
Note: in this example, I used group_operator="avg" on the field, which I'm not sure we want.
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.
The average is really cool on this view as we can see if it grows over time...
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.
looks good. At least is a great start!
|
Pushed a fixup for pivot view + group by avg by default. I added a mention in string and help for the avg to prevent confusion. |
|
This PR has the |
|
Hi @simahawk :) I squashed my commit and rebased, can I remove the work in progress label? I'd like to merge if the build is green. |
Oh no sorry, I couldn't push it because I do no longer have push writes here 😆 |
d5883ec to
f34486a
Compare
|
welcome back! :) |
f34486a to
5a95553
Compare
|
/ocabot merge nobump |
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
Congratulations, your PR was merged at 9bf3f24. Thanks a lot for contributing to OCA. ❤️ |

No description provided.