queue_job: add exec time to view some stats#309
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? |
sebalix
left a comment
There was a problem hiding this comment.
Small comment, approving
b84fc86 to
14862e2
Compare
| <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!
|
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.