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

reports "Dashboard saved" when it could not be saved #1131

Closed
nefilim opened this issue Nov 22, 2014 · 3 comments
Closed

reports "Dashboard saved" when it could not be saved #1131

nefilim opened this issue Nov 22, 2014 · 3 comments
Labels
needs more info Issue needs more information, like query results, dashboard or panel json, grafana version etc

Comments

@nefilim
Copy link

nefilim commented Nov 22, 2014

new installation of grafana, pointing to two influx DBs, one marked as grafana.

created a few graphs (after losing everything from the day before) on the dashboard and hit ctrl+S. it happily reports in a green bar "Dashboard saved Saved as Grafana" but looking in the developer console i see a 400 was returned from influx.

looking in the influx log i see:

[2014/11/22 23:09:29 UTC] INFO Start Query: db: grafana, u: grafana, q: select dashboard from "grafana.dashboard_R3JhZmFuYQ=="

doing a "list series" in the influx console i see only 1 series:

0 grafana.dashboard_Z3JhZmFuYQ==

creating a new browser tab and creating a quick graph and trying to save results in the same behaviour with the same query, i assume the series postfix is some kind of hash generated from environmental variables.

so to recap, my concerns are:

  1. grafana should report (in red would be nice) that it had a problem saving the dashboard, instead of showing a green success
  2. how can i ensure that the correct series is created in influx db for grafana to use?
@nefilim
Copy link
Author

nefilim commented Nov 22, 2014

also, what is the difference between picking "Save as Home" from the menu at the top vs hitting Ctrl+S?

@torkelo
Copy link
Member

torkelo commented Nov 23, 2014

"Save as Home" saves this dashboard as your default dashboard (you will go to this dashboard when you to the index route or click the home icone).

Regarding save. Did you rename the dashboard before save? I can understand that looking through the network logs after save can be confusing (Grafana does some lookup after save which is a backward compatible check, in an old Grafana release dashboards did not have slugified urls/ids). "dashboard_Z3JhZmFuYQ" is a base64 encoding of the dashboard title, so if you do not change the title it wil just overwrite the same dashboard.

@torkelo torkelo added the needs more info Issue needs more information, like query results, dashboard or panel json, grafana version etc label Nov 23, 2014
@nefilim
Copy link
Author

nefilim commented Nov 23, 2014

thank you, that makes a lot of sense. i completely missed setting dashboard titles. everything is now working well and looking beautiful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info Issue needs more information, like query results, dashboard or panel json, grafana version etc
Projects
None yet
Development

No branches or pull requests

2 participants