elementary icon indicating copy to clipboard operation
elementary copied to clipboard

Multiple profiles for alerting

Open Maayan-s opened this issue 3 years ago • 2 comments

Our current configuration for alerting using the CLI is to configure a profile named 'elementary' and provide it the schema where 'data_monitoring_metrics' is. This means that there can only be one profile for alerting.

The need here is to enable monitoring of two different schemas that are managed separately on the same db.

Hemant - could you confirm that this describes the need well?

Maayan-s avatar Apr 25 '22 15:04 Maayan-s

LGTM

hemanthatgeir avatar Apr 25 '22 15:04 hemanthatgeir

After some thought - the fast solution should be to use a single profile with multiple targets. The command 'edr monitor' would pass the target to the '--target' flag of the dbt runs that are invoked by the CLI.

Maayan-s avatar Apr 26 '22 12:04 Maayan-s