An attempt to serialize and keep dashboards in a VCS such as git
- Free software: Apache Software License 2.0
- Documentation: https://metabase-vcs.readthedocs.io.
So far metabase_vcs will only track dashboards, and this dashboards needs to be declared at the tracked.json file at the root of your repo
example of a tracked.json file:
{
"dashboards": [
{
"name": "dashboard_one", # this will be the name of the json file exported
"id": 147 # the metabase dashboard id
},
{
"name": "dashboard_two",
"id": 166
}
]
}
Create a 'dashboards' dir at the root of your repo then run
metabase_vcs export-metabase
This script will create json files represeting dashboards at this dashboards dir
Then you can change a tracked dashboard, run the export-metabase again and check the diffs
git diff dashboards/
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.