Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure dashboards are restored into the same folder as they currently belong to #712

Merged
merged 4 commits into from
May 14, 2020
Merged

Ensure dashboards are restored into the same folder as they currently belong to #712

merged 4 commits into from
May 14, 2020

Conversation

sumnerboy12
Copy link
Contributor

@sumnerboy12 sumnerboy12 commented May 12, 2020

added optional env variable FOLDER_UID to support restoring dashboards into a specific Grafana folder, instead of 'General' by default.

@sumnerboy12 sumnerboy12 changed the title allow folder UID to be (optionally) defined for storing dashboards Allow folder UID to be (optionally) defined for storing dashboards May 12, 2020
@sumnerboy12 sumnerboy12 changed the title Allow folder UID to be (optionally) defined for storing dashboards Allow Grafana folder UID to be (optionally) specified when restoring dashboards May 12, 2020
@sumnerboy12
Copy link
Contributor Author

I see the Docker install will automatically create folders, but since I did a manual install I never got those provisioned. Hence the need for this override.

@sumnerboy12
Copy link
Contributor Author

Simplified this and removed the new env variable (FOLDER_UID). Instead the restore script will ensure that any dashboards which already exist, will be restored into the same folder as they currently belong to.

@sumnerboy12 sumnerboy12 changed the title Allow Grafana folder UID to be (optionally) specified when restoring dashboards Ensure dashboards are restored into the same folder as they currently belong to May 12, 2020
Copy link
Collaborator

@adriankumpf adriankumpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@adriankumpf adriankumpf merged commit df570f8 into teslamate-org:master May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants