Uh oh!
There was an error while loading. Please reload this page.
queue_job: add exec time to view some stats - #309
Conversation
Uh oh!
There was an error while loading. Please reload this page.
368afe1 to
d6ce142Compare@guewen I guess the test is wrong here because |
It's not wrong, for this test, the initial state |
d6ce142 to
f0f6f22Comparesimahawk
commented
Feb 9, 2021
better? |
Uh oh!
There was an error while loading. Please reload this page.
b84fc86 to
14862e2CompareUh oh!
There was an error while loading. Please reload this page.
| <field name="exec_time" type="measure" /> | ||
| </graph> | ||
| </field> | ||
| </record> |
There was a problem hiding this comment.
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.
The average is really cool on this view as we can see if it grows over time...
There was a problem hiding this comment.
looks good. At least is a great start!
guewen
commented
Feb 10, 2021
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. |
OCA-git-bot
commented
Feb 13, 2021
This PR has the |
guewen
commented
Mar 4, 2021
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. |
guewen
commented
Mar 4, 2021
Oh no sorry, I couldn't push it because I do no longer have push writes here 😆 |
simahawk
commented
Mar 4, 2021
welcome back! :) |
Uh oh!
There was an error while loading. Please reload this page.
guewen
commented
Mar 4, 2021
/ocabot merge nobump |
OCA-git-bot
commented
Mar 4, 2021
Hey, thanks for contributing! Proceeding to merge this for you. |
OCA-git-bot
commented
Mar 4, 2021
Congratulations, your PR was merged at 9bf3f24. Thanks a lot for contributing to OCA. ❤️ |

No description provided.