Dživo Jelić
Dživo Jelić

Reputation: 2143

How can I see executed Google Cloud task and whether they failed or succeeded

How can I see executed Google Cloud task and whether they failed or succeeded?

Currently I only see this even though my task has been executed.

enter image description here

Upvotes: -1

Views: 253

Answers (1)

Sathi Aiswarya
Sathi Aiswarya

Reputation: 2940

You can use the Cloud Task API to see the status of a task attempt. This will show the status of the task attempt with the following JSON representation:

{
  "scheduleTime": string,
  "dispatchTime": string,
  "responseTime": string,
  "responseStatus": {
    object (Status)
  }
}

This StackOverflow post covers how to get Google Cloud Task status.Here is the feature request to get metrics for an individual Cloud Task as there is no metric available for monitoring an individual task.

Upvotes: 0

Related Questions