REST API - Task Stats¶
- class iceprod.rest.handlers.task_stats.MultiTaskStatsHandler(*args, **kwargs)[source]¶
Handle multi task_stats requests.
- class iceprod.rest.handlers.task_stats.DatasetsBulkTaskStatsHandler(*args, **kwargs)[source]¶
Handle a dataset bulk task_stats requests.
Stream the output of all stats.
- async get(dataset_id)[source]¶
Get task_stats for a dataset and task.
- Parameters:
dataset_id (str) – dataset id
- Params (optional):
last: bool (True: only last task_stat. False: all task_stats) after: only return stats created more recently than this date keys: | separated list of keys to return for each task_stat buffer_size: number of records to buffer before flushing (default 100)
- Returns:
{<task_stat_id>: stats}
- Return type:
- class iceprod.rest.handlers.task_stats.DatasetsMultiTaskStatsHandler(*args, **kwargs)[source]¶
Handle multi task_stats requests.