Currently the task manager heath report includes an object stats.workload.value.schedule, whose value is an array of schedule intervals and the number of tasks using that schedule. For example:
This actually looks a little concerning, seeing that there are tasks scheduled 3s and 10s, and we frequently think those are rules which are scheduled. But they aren't, they are non-rule tasks created by other plugins.
Feels like we should change this output, to include the task types that are referenced by each array item. To keep the shape as close as possible to the existing one, maybe we could add a third element to the arrays, which would be an array of the task types that are included here. Alternatively, for cases where multiple task types use the same interval, create a separate element for each.
The first shape is closer to the original, in that there's no duplicate time entries, in case someone was using those to build a map or something. The second one is more "precise".
Currently the task manager heath report includes an object
stats.workload.value.schedule
, whose value is an array of schedule intervals and the number of tasks using that schedule. For example:This actually looks a little concerning, seeing that there are tasks scheduled
3s
and10s
, and we frequently think those are rules which are scheduled. But they aren't, they are non-rule tasks created by other plugins.Feels like we should change this output, to include the task types that are referenced by each array item. To keep the shape as close as possible to the existing one, maybe we could add a third element to the arrays, which would be an array of the task types that are included here. Alternatively, for cases where multiple task types use the same interval, create a separate element for each.
For example:
The first shape is closer to the original, in that there's no duplicate time entries, in case someone was using those to build a map or something. The second one is more "precise".