https://www.growthbook.io/ logo
#give-feedback
Title
# give-feedback
l

late-dentist-52023

07/17/2023, 6:32 PM
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

future-teacher-7046

07/17/2023, 8:00 PM
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

late-dentist-52023

07/17/2023, 8:22 PM
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
15 Views