Skip to content

Commit 8abf7e8

Browse files
authored
document select (elementary-data#535)
1 parent bfd30f1 commit 8abf7e8

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

docs/quickstart/send-slack-alerts.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ To set it up globaly for your project, add the desired alert fields to your mode
297297

298298
```yml dbt_project.yml
299299
models:
300-
- name: marketing_leads
300+
marketing_leads:
301301
+meta:
302302
alerts_config:
303303
alert_fields: ["description", "owners", "tags", "subscribers"]
@@ -341,7 +341,7 @@ To set it up globaly for your project, add the alert suppression interval to you
341341

342342
```yml dbt_project.yml
343343
models:
344-
- name: marketing_leads
344+
marketing_leads:
345345
+meta:
346346
alerts_config:
347347
alert_suppression_interval: 24

docs/understand-elementary/cli-commands.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,24 @@ Here is a list of all the available options:
7979
--project-profile-target <target_name>
8080
```
8181

82+
- **Select:**
83+
Filter the alerts / report using a selector.
84+
85+
- See all of the alerts supported selector methods [here](https://docs.elementary-data.com/quickstart/send-slack-alerts#filtering-alerts-using-selector).
86+
- See all of the report supported selector methods [here](https://docs.elementary-data.com/quickstart/generate-report-ui#generating-a-report-for-single-invocation).
87+
88+
```shell
89+
--select <selector_method>:<value>
90+
```
91+
8292
- **Slack webhook URL:**
8393
Pass the webhook URL of your Slack channel to edr as a parameter.
8494

8595
```shell
8696
-s, --slack-webhook <slack_webhook_url>
8797
```
8898

89-
- **Slack token**
99+
- **Slack token:**
90100
Pass the Slack token and the Slack channel to edr as parameters.
91101

92102
```shell

0 commit comments

Comments
 (0)