CLI-based Data Catalog and Tracking Plan Management
Alpha
Track, version control, and manage your events, properties, and Tracking Plans as code.
Available Plans
free
starter
growth
enterprise
3 minute read
This feature is in Alpha as part of RudderStack’s Early Access Program, where we work with early users and customers to test new features and get feedback before making them generally available. Note that these features are functional but can change as we improve them.
Before you get started, note the following:
See the limitations section to learn more about current differences between the CLI and UI.
RudderStack recommends testing this feature in a clean Dev workspace.
RudderStack’s CLI-based Tracking Plans management feature helps you manage Tracking Plans and Data Catalog as code by leveraging the new CLI-based workflow. It helps you bring data governance into your existing development workflows through code-first management.
With this feature, you can bring the same rigor and process to your Tracking Plans that you apply to your application code, ensuring consistency and quality in your data collection strategy.
Key features
With RudderStack’s CLI-based Tracking Plan management, you get the following features:
Declarative YAML configuration
Define and manage events, properties, and Tracking Plans directly in your codebase using simple YAML files.
Create reusable property definitions with advanced validation rules like minimum/maximum length, patterns, enums, etc. across multiple events.
Define dynamic validation rules using Conditional Validation that adapt based on context.
Leverage a structured referencing system to associate events and properties to a Tracking Plan.
Powerful Rudder CLI tool
This feature comes with a powerful Rudder CLI utility that lets you:
Create, update, and delete Tracking Plan resources via command line.
Verify your YAML configurations locally before pushing changes to production.
Sync the local configuration files with your RudderStack workspace.
In contrast to how Infrastructure-as-Code (IaC) tools typically depend on external object storage like S3 to maintain their state, you can store the relevant state directly in RudderStack, thereby significantly reducing configuration overhead.
You only need the YAML configuration files and a RudderStack token to use Rudder CLI.
Git integration and CI/CD support
Leverage GitHub Actions to automatically validate and deploy Tracking Plans from your repository.
Use the standard Git workflows to track changes, implement version control, manage branches, and make any other modifications.
Who can use this feature?
The CLI-based Data Catalog and Tracking Plan management feature is helpful for data teams who need to:
Manage their Tracking Plans and Data Catalog programmatically with consistent tracking standards.
Integrate their Tracking Plan changes into their existing development workflows.
Validate their Tracking Plan changes before deployment.
If you’re on Free or self-hosted plan, or for testing and development only: Generate a Personal Access Token with Read-Write role
Any action authenticated by a Personal Access Token will break if the user generating the token is removed from the organization or there is a breaking change to their permissions.
Rudder CLI only supports pushing updates to RudderStack, not pulling. This means you will need to test with a clean Dev workspace where the Data Catalog is empty and there are no Tracking Plans.
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.