From aba292314004d200132dee7d4e675070999f41c3 Mon Sep 17 00:00:00 2001 From: dpguthrie Date: Fri, 16 Feb 2024 15:52:03 +0000 Subject: [PATCH] Add metabase exposures --- models/marts/exposures/exposures.yml | 186 +++++++++++++++++++++++---- 1 file changed, 158 insertions(+), 28 deletions(-) diff --git a/models/marts/exposures/exposures.yml b/models/marts/exposures/exposures.yml index c63e24c9..73441756 100644 --- a/models/marts/exposures/exposures.yml +++ b/models/marts/exposures/exposures.yml @@ -1,35 +1,165 @@ version: 2 - exposures: - - name: sales_by_region - description: | - # An h1 header - ============ - - Paragraphs are separated by a blank line. - - 2nd paragraph. *Italic*, **bold**, and `monospace` - Itemized lists look like: - * this one - * that one - * the other one - - # type could be {dashboard, notebook, analysis, ml, application} - type: dashboard - tags: - - "Core Asset: :white_check_mark:" - - # this is just a link to the thing itself for click through from documentation - url: https://10az.online.tableau.com/#/site/dbtlabspartner/views/DemoDashboard/Dashboard1?:iid=2 - - # convenience feature - relative scale of {high, medium, low} - maturity: high - - # documentation purposes for point of contact if stuff breaks + - name: accounts__count__grouped_by_canceled_at__month + label: 'Accounts, Count, Grouped by Canceled At: Month' + description: '### Visualization: Line + + + No description provided in Metabase + + + #### Metadata + + + Metabase ID: __2__ + + + Created On: __2023-12-19T21:48:29.000572Z__' + type: analysis + url: https://metabase-production-2dd8.up.railway.app/card/2 + maturity: medium + owner: + name: Doug Guthrie + email: doug.guthrie@dbtlabs.com + depends_on: [] + - name: accounts__count__grouped_by_created_at__month + label: 'Accounts, Count, Grouped by Created At: Month' + description: '### Visualization: Line + + + No description provided in Metabase + + + #### Metadata + + + Metabase ID: __1__ + + + Created On: __2023-12-19T21:48:09.929163Z__' + type: analysis + url: https://metabase-production-2dd8.up.railway.app/card/1 + maturity: medium + owner: + name: Doug Guthrie + email: doug.guthrie@dbtlabs.com + depends_on: [] + - name: order_amount_by_time + label: Order Amount by Time + description: '### Visualization: Line + + + This card displays the total order amount, represented by gross sales, over + time. + + + #### Metadata + + + Metabase ID: __7__ + + + Created On: __2023-12-19T22:20:37.044193Z__' + type: analysis + url: https://metabase-production-2dd8.up.railway.app/card/7 + maturity: medium + owner: + name: Doug Guthrie + email: doug.guthrie@dbtlabs.com + depends_on: + - ref('fct_orders') + - ref('dim_customers') + - name: orders_by_country + label: Orders by Country + description: '### Visualization: Map + + + This is a visualization that shows a map of the world and the total orders made + at the individual country level. The darker blue indicates more orders made. + + + #### Metadata + + + Metabase ID: __6__ + + + Created On: __2023-12-19T22:18:23.868916Z__' + type: analysis + url: https://metabase-production-2dd8.up.railway.app/card/6 + maturity: medium + owner: + name: Doug Guthrie + email: doug.guthrie@dbtlabs.com + depends_on: + - ref('fct_orders') + - ref('dim_customers') + - name: total_page_views___dbtc + label: 'Total Page Views: dbtc' + description: '### Visualization: Line + + + No description provided in Metabase + + + #### Metadata + + + Metabase ID: __5__ + + + Created On: __2023-12-19T22:11:52.227747Z__' + type: analysis + url: https://metabase-production-2dd8.up.railway.app/card/5 + maturity: medium + owner: + name: Doug Guthrie + email: doug.guthrie@dbtlabs.com + depends_on: + - ref('agg_segment_page_views') + - name: total_transactions + label: Total transactions + description: '### Visualization: Scalar + + + No description provided in Metabase + + + #### Metadata + + + Metabase ID: __3__ + + + Created On: __2023-12-19T21:56:09.791096Z__' + type: analysis + url: https://metabase-production-2dd8.up.railway.app/card/3 + maturity: medium + owner: + name: Doug Guthrie + email: doug.guthrie@dbtlabs.com + depends_on: + - ref('fct_orders') + - name: transactions_in_the_last_30_days + label: Transactions in the last 30 days + description: '### Visualization: Scalar + + + No description provided in Metabase + + + #### Metadata + + + Metabase ID: __4__ + + + Created On: __2023-12-19T21:56:09.864497Z__' + type: analysis + url: https://metabase-production-2dd8.up.railway.app/card/4 + maturity: medium owner: name: Doug Guthrie email: doug.guthrie@dbtlabs.com - - # IMPORTANT: determines the lineage relationship of the exposure construct to the rest of your DAG depends_on: - ref('fct_orders')