Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional metadata to understand "usability" of a card #280

Closed
codingcyclist opened this issue Oct 9, 2024 · 0 comments · Fixed by #284
Closed

Additional metadata to understand "usability" of a card #280

codingcyclist opened this issue Oct 9, 2024 · 0 comments · Fixed by #284
Labels
enhancement New feature or request

Comments

@codingcyclist
Copy link
Contributor

Hi there,

I'm a big fan of dbt-metabase! Especially the exposures feature has been a complete game changer to avoid deploying model changes that would break metabase cards.

With a growing number of cards in Metabase, my team figured that it's not only important to understand by which cards our DBT models are referenced , but also whether these cards are still being used. Hence, I was thinking to add the last_used_at and average_query_time fields from the metabase card API to the exposure metadata. They strike me as a good proxy for whether a card is still usable (query time) and whether it gets used (last used timestamp)

I've already done this on a local fork (see screenshot) of the repo and would be happy to contribute it. Wdyt @gouline?

Screenshot 2024-10-09 at 17 49 49
@gouline gouline changed the title [Improvement] Additional metadata to understand "usability" of a card Additional metadata to understand "usability" of a card Oct 12, 2024
@gouline gouline added the enhancement New feature or request label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants