PrefectHQ / prefect

Prefect is a workflow orchestration framework for building resilient data pipelines in Python.
https://prefect.io
Apache License 2.0
16.86k stars 1.61k forks source link

Exclusion filters for UI #10346

Open EmilRex opened 1 year ago

EmilRex commented 1 year ago

First check

Prefect Version

2.x

Describe the current behavior

The Prefect UI implements several filters on various pages. The flow runs page can filter on date range, states, flows, deployments, work pools, and tags. For filters that accept string values, it is not possible to exclude terms, only include terms. For example, the "hide scheduled runs" view, actually selects all the values besides scheduled states. If we were to add new states, we would have to add them to this filter.

Describe the proposed behavior

It would be great if we could declare exclusion filters. For example, -Late would exclude any flow runs with a Late state.

Example Use

No response

Additional context

No response

WillRaphaelson commented 1 year ago

This is very much in line with our thinking for future milestones of search. So after we get a good global object search in place, we'll explore a unified filter/search experience, adding search over logs and events, etc. I'm going to put this as medium + deferred to reflect that but know that its on the radar for this year.

WillRaphaelson commented 8 months ago

Thanks Emil - it is likely we revisit filters holistically some time very soon.