https://prefect.io logo
Title
s

Stephen Lloyd

11/03/2022, 4:01 AM
In the prefect 1.0 cloud UI, how can I see a breakdown of where runs are coming from?
1
Our task runs on the Account page suddenly exploded, but I can’t figure out how to dig into this.
b

Bianca Hoch

11/03/2022, 3:26 PM
Hey Stephen, just a heads up that we responded to your inquiry through our email thread.
Cross posting here for visibility. You can try running the following query in the interactive API, or using GraphQL.
{
  task_run (
    where: {
      created: {_lt: "2022-11-30 00:00:00", _gte: "2022-11-01 00:00:00"}, 
      state: {_eq: "Success"}, 
      tenant_id: {_in: ["insert-tenant-id-here"]}}
  ) {
    id,
    flow_run {
      id,
      name,
      flow{
        name,
        created,
        created_by {
          id,
          username
        }
      }
    },
    flow_run_id
  } 
}