diff --git a/Protos/V1/tasks_common.proto b/Protos/V1/tasks_common.proto index e497e98bd..9bf5c1a97 100644 --- a/Protos/V1/tasks_common.proto +++ b/Protos/V1/tasks_common.proto @@ -38,11 +38,16 @@ message TaskDetailed { google.protobuf.Timestamp created_at = 11; /** The task creation date. */ google.protobuf.Timestamp submitted_at = 12; /** The task submission date. */ + google.protobuf.Timestamp received_at = 18; /** When the task is received by the agent. */ + google.protobuf.Timestamp acquired_at = 19; /** When the task is acquired by the agent. */ google.protobuf.Timestamp started_at = 13; /** The task start date. */ + google.protobuf.Timestamp processed_at = 24; /** The end of task processing date. */ google.protobuf.Timestamp ended_at = 14; /** The task end date. Also used when task failed. */ + google.protobuf.Timestamp pod_ttl = 15; /** The pod TTL (Time To Live). */ + google.protobuf.Duration creation_to_end_duration = 20; /** The task duration. Between the creation date and the end date. */ google.protobuf.Duration processing_to_end_duration = 21; /** The task calculated duration. Between the start date and the end date. */ - google.protobuf.Timestamp pod_ttl = 15; /** The pod TTL (Time To Live). */ + google.protobuf.Duration received_to_end_duration = 23; /** The task calculated duration. Between the received date and the end date. */ /** * Represents the task output. @@ -55,8 +60,6 @@ message TaskDetailed { Output output = 16; /** The task output. */ string pod_hostname = 17; /** The hostname of the container running the task. */ - google.protobuf.Timestamp received_at = 18; /** When the task is received by the agent. */ - google.protobuf.Timestamp acquired_at = 19; /** When the task is acquired by the agent. */ } /** @@ -83,17 +86,19 @@ message TaskSummary { google.protobuf.Timestamp created_at = 5; /** The task creation date. */ google.protobuf.Timestamp submitted_at = 12; /** The task submission date. */ + google.protobuf.Timestamp received_at = 18; /** When the task is received by the agent. */ + google.protobuf.Timestamp acquired_at = 19; /** When the task is acquired by the agent. */ google.protobuf.Timestamp started_at = 6; /** The task start date. */ + google.protobuf.Timestamp processed_at = 23; /** The end of task processing date. */ google.protobuf.Timestamp ended_at = 7; /** The task end date. Also used when task failed. */ + google.protobuf.Timestamp pod_ttl = 20; /** The pod TTL (Time To Live). */ + google.protobuf.Duration creation_to_end_duration = 15; /** The task duration. Between the creation date and the end date. */ google.protobuf.Duration processing_to_end_duration = 16; /** The task calculated duration. Between the start date and the end date. */ - google.protobuf.Timestamp pod_ttl = 20; /** The pod TTL (Time To Live). */ + google.protobuf.Duration received_to_end_duration = 24; /** The task calculated duration. Between the received date and the end date. */ string error = 8; /** The error message. Only set if task have failed. */ - string pod_hostname = 17; /** The hostname of the container running the task. */ - google.protobuf.Timestamp received_at = 18; /** When the task is received by the agent. */ - google.protobuf.Timestamp acquired_at = 19; /** When the task is acquired by the agent. */ } /** diff --git a/Protos/V1/tasks_fields.proto b/Protos/V1/tasks_fields.proto index 328e4a858..548686f13 100644 --- a/Protos/V1/tasks_fields.proto +++ b/Protos/V1/tasks_fields.proto @@ -20,10 +20,12 @@ enum TaskSummaryEnumField { TASK_SUMMARY_ENUM_FIELD_ENDED_AT = 5; /** The task end date. */ TASK_SUMMARY_ENUM_FIELD_CREATION_TO_END_DURATION = 6; /** The task duration. Between the creation date and the end date. */ TASK_SUMMARY_ENUM_FIELD_PROCESSING_TO_END_DURATION = 7; /** The task calculated duration. Between the start date and the end date. */ + TASK_SUMMARY_ENUM_FIELD_RECEIVED_TO_END_DURATION = 18; /** The task calculated duration. Between the received date and the end date. */ TASK_SUMMARY_ENUM_FIELD_POD_TTL = 12; /** The pod TTL (Time To Live). */ TASK_SUMMARY_ENUM_FIELD_POD_HOSTNAME = 13; /** The hostname of the container running the task. */ TASK_SUMMARY_ENUM_FIELD_RECEIVED_AT = 14; /** When the task is received by the agent. */ TASK_SUMMARY_ENUM_FIELD_ACQUIRED_AT = 15; /** When the task is acquired by the agent. */ + TASK_SUMMARY_ENUM_FIELD_PROCESSED_AT = 17; /** When the task is processed by the agent. */ TASK_SUMMARY_ENUM_FIELD_ERROR = 8; /** The error message. Only set if task have failed. */ }