Skip to content

Allow to specify upstream and downstream model selector on edr monitor filtering (--filters) #2046

@nicor88

Description

@nicor88

Is your feature request related to a problem? Please describe.
I want to be able to use upstream and downstream model selection when using edr monitor

For example, edr monitor --filters models:customers+ needs to send alerts only for customer and downstream models, including related tests.

And edr monitor --filters models:+customers+ should ensure that monitors are sent for upstream and downstream dependencies, and related tests.

Ideally, the upstream and downstream filtering is applicable to other sectors too, like tags...

Describe the solution you'd like
Filter selector should allow model upstream and downstream filtering.

Describe alternatives you've considered
I believe that the suggested feature should be implemented on elementary side.

Additional context
This feature is relevant for our setup, as dbt models are run in separate schedule often indipendently, and it's essential that the monitor allow to have specific alerts raising only for specific models, to avoid noise.

Would you be willing to contribute this feature?
I can, anyhow I've a bit of limited capacity, so some little support from Elementary side to understand what to touch will be welcome.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions