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

monitoring: persist Grafana DB with -G option #315

Open
tarzanek opened this issue Dec 18, 2023 · 2 comments
Open

monitoring: persist Grafana DB with -G option #315

tarzanek opened this issue Dec 18, 2023 · 2 comments

Comments

@tarzanek
Copy link
Collaborator

same as we do for alert manager and of course prometheus,
we should persist grafana settings (it likely shouldn't persist dashboards, which needs to be tested, dashboards should come from distro/version)

https://github.com/scylladb/scylla-monitoring/blob/master/start-all.sh#L75
-G path/to/Grafana/data-dir - Set an external data directory for the Grafana data.

should do the trick

the goal is to persist any custom rules people will write in Grafana UI

@tarzanek
Copy link
Collaborator Author

@vladzcloudius this is needed for persisting of more users or grafana settings

I did only quick test and containers failed to load when I used -G , permission options, so let's test this properly (it is possible there are bugs upstream here)

@vladzcloudius
Copy link
Collaborator

vladzcloudius commented Feb 28, 2024

@vladzcloudius this is needed for persisting of more users or grafana settings

I did only quick test and containers failed to load when I used -G , permission options, so let's test this properly (it is possible there are bugs upstream here)

@tarzanek Please, paste the error that you've got when you tried -G option.
Did you validate that the directory that you used indeed had required permissions?
Please, provide the ls -al for that directory as well.

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

No branches or pull requests

2 participants