You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ProgressReports are used for tasks that have multiple parts, so you can tell how much they're doing/have done. When debugging large tasks (e.g., a sync of the one Really Big Repo), it would be handy to be able to see which subsection of the task took the bulk of the time, before digging into the logs.
Currently, for example, a sync-task has a progres--report-section that looks like this:
It would be very handy if it had a started_at: that was the ProgRpt's create-time (or maybe when state changed to running?) and a finished_at: that was filled in when the state changed to completed. This would make it possible to see at a glance that, for example, "oh, all the time was in 'Downloading Artifacts' - I need to check network-speed".
The text was updated successfully, but these errors were encountered:
The thing is that we designed our most interesting (long running tasks) in a pipeline manner. They do not perform one step after another, but all at the same time. I fear these times would be rather meaningless.
It's not perfect, surely. But not everything happens in the sync-pipeline - in fact, some parts of the sync-pipeline happen not-concurrently, in more complicated cases like pulp_rpm. orphan-cleanup and import/export both use multiple progress-reports in ways that this might give some useful insights.
In any event - it can be useful, depending on the circumstancesm, and isn't a very intrusive change.
Sure, some information may be better than none.
Should we add a docs page that states: "These times may absolutely include waiting on other pieces of the same task or even external resources. You many need an engineer to understand that they tell you little to nothing."
I'm not saying we shouldn't do this. I just fear that this can potentially increase the support surface.
ProgressReports are used for tasks that have multiple parts, so you can tell how much they're doing/have done. When debugging large tasks (e.g., a sync of the one Really Big Repo), it would be handy to be able to see which subsection of the task took the bulk of the time, before digging into the logs.
Currently, for example, a sync-task has a progres--report-section that looks like this:
It would be very handy if it had a
started_at:
that was the ProgRpt's create-time (or maybe when state changed torunning
?) and afinished_at:
that was filled in when thestate
changed tocompleted
. This would make it possible to see at a glance that, for example, "oh, all the time was in 'Downloading Artifacts' - I need to check network-speed".The text was updated successfully, but these errors were encountered: