I would like to version control the various SQL we...
# give-feedback
l
I would like to version control the various SQL we have in growthbook (metrics, data sources, dimensions, etc) — has anyone explored this/have a good pattern they have implemented (even if part of the process requires manual intervention)?
f
Is this for self hosted or Cloud? For self hosted we have a config.yml file you can use. For Cloud, we're currently working on the API endpoints and scripts to make this possible. The idea is that you'll be able to version control all of your metrics, etc. And set up a GitHub Action script (or equivalent) to sync changes to GrowthBook.
l
self-hosted
I do recall using the config.yml for data sources when going from testing self-hosting to managing it in our k8s environment. I did not recall that all of the metrics are there as well, I’ll take a look at that as an option! thanks