-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: query average time and last usage metadata (#284)
* Feat: avg query time + last used at timestamp (#281) * Query average time and last usage metadata --------- Co-authored-by: Simon Rosenberger (Bumm) <[email protected]>
- Loading branch information
1 parent
78e8133
commit 602192e
Showing
9 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,9 @@ exposures: | |
name: dbtmetabase | ||
email: [email protected] | ||
depends_on: [] | ||
meta: | ||
average_query_time: '0:00.028' | ||
last_used_at: '2024-06-20T05:56:57.295379Z' | ||
- name: dummy_1 | ||
label: Dummy | ||
description: '### Visualization: Table | ||
|
@@ -78,6 +81,9 @@ exposures: | |
name: dbtmetabase | ||
email: [email protected] | ||
depends_on: [] | ||
meta: | ||
average_query_time: '0:00.024' | ||
last_used_at: '2024-06-20T05:57:12.297288Z' | ||
- name: orders___customers | ||
label: Orders + Customers | ||
description: '### Visualization: Table | ||
|
@@ -102,6 +108,9 @@ exposures: | |
depends_on: | ||
- ref('customers') | ||
- ref('orders') | ||
meta: | ||
average_query_time: '0:00.107' | ||
last_used_at: '2024-06-20T05:55:59.079272Z' | ||
- name: orders___customers__filtered_by_status_is_completed | ||
label: Orders + Customers, Filtered by Status is completed | ||
description: '### Visualization: Table | ||
|
@@ -126,6 +135,9 @@ exposures: | |
depends_on: | ||
- ref('customers') | ||
- ref('orders') | ||
meta: | ||
average_query_time: '0:00.264' | ||
last_used_at: '2024-06-19T12:09:31.689381Z' | ||
- name: returned_order_count_sql | ||
label: Returned Order Count SQL | ||
description: "### Visualization: Scalar\n\nNo description provided in Metabase\n\ | ||
|
@@ -141,6 +153,9 @@ exposures: | |
depends_on: | ||
- ref('stg_orders') | ||
- ref('stg_payments') | ||
meta: | ||
average_query_time: '0:00.191' | ||
last_used_at: '2024-06-19T12:09:31.486489Z' | ||
- name: the_dashboard | ||
label: The Dashboard | ||
description: '### Dashboard Cards: 3 | ||
|
@@ -190,3 +205,6 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('payments') | ||
meta: | ||
average_query_time: '0:00.058' | ||
last_used_at: '2024-10-12T01:52:30.585371Z' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,9 @@ exposures: | |
name: dbtmetabase | ||
email: [email protected] | ||
depends_on: [] | ||
meta: | ||
average_query_time: '0:00.028' | ||
last_used_at: '2024-06-20T05:56:57.295379Z' | ||
tags: | ||
- metabase | ||
- name: dummy_1 | ||
|
@@ -82,6 +85,9 @@ exposures: | |
name: dbtmetabase | ||
email: [email protected] | ||
depends_on: [] | ||
meta: | ||
average_query_time: '0:00.024' | ||
last_used_at: '2024-06-20T05:57:12.297288Z' | ||
tags: | ||
- metabase | ||
- name: orders___customers | ||
|
@@ -108,6 +114,9 @@ exposures: | |
depends_on: | ||
- ref('customers') | ||
- ref('orders') | ||
meta: | ||
average_query_time: '0:00.107' | ||
last_used_at: '2024-06-20T05:55:59.079272Z' | ||
tags: | ||
- metabase | ||
- name: orders___customers__filtered_by_status_is_completed | ||
|
@@ -134,6 +143,9 @@ exposures: | |
depends_on: | ||
- ref('customers') | ||
- ref('orders') | ||
meta: | ||
average_query_time: '0:00.264' | ||
last_used_at: '2024-06-19T12:09:31.689381Z' | ||
tags: | ||
- metabase | ||
- name: returned_order_count_sql | ||
|
@@ -151,6 +163,9 @@ exposures: | |
depends_on: | ||
- ref('stg_orders') | ||
- ref('stg_payments') | ||
meta: | ||
average_query_time: '0:00.191' | ||
last_used_at: '2024-06-19T12:09:31.486489Z' | ||
tags: | ||
- metabase | ||
- name: the_dashboard | ||
|
@@ -204,5 +219,8 @@ exposures: | |
email: [email protected] | ||
depends_on: | ||
- ref('payments') | ||
meta: | ||
average_query_time: '0:00.058' | ||
last_used_at: '2024-10-12T01:52:30.585371Z' | ||
tags: | ||
- metabase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,3 +32,6 @@ exposures: | |
name: dbtmetabase | ||
email: [email protected] | ||
depends_on: [] | ||
meta: | ||
average_query_time: '0:00.028' | ||
last_used_at: '2024-06-20T05:56:57.295379Z' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,3 +32,6 @@ exposures: | |
name: dbtmetabase | ||
email: [email protected] | ||
depends_on: [] | ||
meta: | ||
average_query_time: '0:00.024' | ||
last_used_at: '2024-06-20T05:57:12.297288Z' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
version: 2 | ||
exposures: | ||
- name: transactions | ||
label: Transactions | ||
description: '### Visualization: Table | ||
No description provided in Metabase | ||
#### Metadata | ||
Metabase ID: __33__ | ||
Created On: __2024-10-11T23:46:29.272117Z__' | ||
type: analysis | ||
url: http://localhost:3000/card/33 | ||
maturity: medium | ||
owner: | ||
name: dbtmetabase | ||
email: [email protected] | ||
depends_on: | ||
- ref('payments') | ||
meta: | ||
average_query_time: '0:00.058' | ||
last_used_at: '2024-10-12T01:52:30.585371Z' |