{"id":19491811,"url":"https://github.com/rudderlabs/dbt-events-registry","last_synced_at":"2026-02-14T16:01:34.564Z","repository":{"id":44883790,"uuid":"269322797","full_name":"rudderlabs/dbt-events-registry","owner":"rudderlabs","description":"Using DBT for Creating Events Registry on RudderStack - an open-source, warehouse-first customer data pipeline and Segment alternative. ","archived":false,"fork":false,"pushed_at":"2024-02-21T13:51:09.000Z","size":14,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-29T21:35:24.407Z","etag":null,"topics":["dbt","rudderstack"],"latest_commit_sha":null,"homepage":"https://www.rudderstack.com","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rudderlabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-06-04T09:57:23.000Z","updated_at":"2025-08-29T07:08:45.000Z","dependencies_parsed_at":"2025-09-03T09:36:12.653Z","dependency_job_id":"b9ec59e8-376d-471a-becf-4c7c9e1bc440","html_url":"https://github.com/rudderlabs/dbt-events-registry","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/rudderlabs/dbt-events-registry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Fdbt-events-registry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Fdbt-events-registry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Fdbt-events-registry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Fdbt-events-registry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rudderlabs","download_url":"https://codeload.github.com/rudderlabs/dbt-events-registry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Fdbt-events-registry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29448918,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dbt","rudderstack"],"created_at":"2024-11-10T21:18:25.778Z","updated_at":"2026-02-14T16:01:34.522Z","avatar_url":"https://github.com/rudderlabs.png","language":null,"readme":"# Events Registry using DBT and RudderStack\n\nThis repository contains a sample DBT project for RudderStack. It can be applied on the RudderStack data residing in Google BigQuery. \n\n## Overview\n\nThis DBT project is built on top of the source table `tracks` which is created by default in all the RudderStack warehouse destinations. \n\nThe `Events Registry` table essentially contains information like `first triggered time`, `last triggered time` and aggregates `like \ntotal count`, `total user count` and `daily average` corresponding to each type of event routed via the RudderStack SDK(s).\n\nThe `Events Registry Last N Days` table creates the same aggregates as above with the only difference being that it is for records up till \nN days in the past. The value of N can be changed in the query. The resulting table will remain the same; there is an attribute \n`window-width`which will show the value of N used to generate the record. Since the data in the N Days table is for a limited time \nwindow and not for the entire lifecyle of the RudderStack installation - `first_triggered_time` and `last_triggered_time` are not\napplicable in this case.\n\n## How to Use This Repository\n\nThis project was created on the [**DBT Cloud**](https://cloud.getdbt.com). Hence, there is no `profiles.yml` file with the connection information. \n\nDevelopers who want to execute the models on the Command Line Interface (CLI) mode will need to create additional configuration files \nfollowing the directions provided [**here**](https://docs.getdbt.com/docs/running-a-dbt-project/using-the-command-line-interface/)\n\nThere is only one model to be built - `dbt_event_registry`\n\n**Important**: Please remember to change `schema` in `tracks.yml`, `dbt_event_registry.sql` and `dbt_event_registry_last_N_days` to your database schema.\n\n# What is RudderStack?\n\n[RudderStack](https://rudderstack.com/) is a **customer data pipeline** tool for collecting, routing and processing data from your websites, apps, cloud tools, and data warehouse.\n\nMore information on RudderStack can be found [here](https://github.com/rudderlabs/rudder-server).\n\n## Contact us\n\nIf you come across any issues while configuring or using this project, please feel free to start a conversation on our [Slack](https://resources.rudderstack.com/join-rudderstack-slack) channel. We will be happy to help you.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudderlabs%2Fdbt-events-registry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frudderlabs%2Fdbt-events-registry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudderlabs%2Fdbt-events-registry/lists"}