1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
.. bare-data:: debusine:historical-task-run
Category ``debusine:historical-task-run``
=========================================
This bare data item is added to a :collection:`debusine:task-history`
collection to store statistics about a task run.
* Data:
* the mandatory classification fields defined by the
:collection:`debusine:task-history` collection
* ``timestamp`` (required): the date and time (as a Unix timestamp — cf.
``date +%s``) when the task started
* ``runtime_statistics`` (required): :ref:`runtime-statistics`, copied
from the output data of the associated work request
Example data:
.. code-block:: yaml
timestamp: 1722692645
work_request_id: 12
result: success
runtime_statistics:
duration: 6230
cpu_time: 4300
disk_space: 14780131
memory: 344891034
available_disk_space: 12208271360
available_memory: 32839598080
cpu_count: 4
|