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

Grafana #333

Merged
merged 10 commits into from
Apr 9, 2020
Merged

Grafana #333

merged 10 commits into from
Apr 9, 2020

Conversation

daisycrego
Copy link
Contributor

@daisycrego daisycrego commented Apr 9, 2020

  • Fix issue where after a new GFConfig is posted, all of the existing config info isn't passed in the context, so the page appears empty.
  • Fix issue where new postgres datasource was not being given the same name used by add_panel in the grafana API - the result was that all of the panels were being created but the datasource wasn't configured correctly.
  • Change the name of a test in the ag_data module which is failing so that it won't be run. Backend is putting in a PR soon to resolve this but for now this will fix it.

daisycrego and others added 7 commits April 9, 2020 10:51
…atasource is configured BEFORE grafana dashboard(s) are created. This is why the datasource isn't being set up properly.
…en the page reloads - was missing some of the config data.
… name of the current postgres db (was being set to 'Datasource') so that add_panel will correctly associate the new panels with the datasource.
@daisycrego daisycrego linked an issue Apr 9, 2020 that may be closed by this pull request
Copy link
Contributor

@dandipietrantonio dandipietrantonio left a comment

Choose a reason for hiding this comment

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

lgtm!

@daisycrego daisycrego merged commit e31fcfa into frontend-team Apr 9, 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.

New Sensor Panels don't have Postgres Datasource configured
2 participants