Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Docker grafana automatic provisioning #1039

Merged
merged 9 commits into from
Sep 10, 2018

Conversation

Dieterbe
Copy link
Contributor

@Dieterbe Dieterbe commented Sep 8, 2018

  • remove launch/populate scripts in favor of grafana's new automatic dashboard/datasource provisioning
  • always auto-provision in docker-standard, making quickstart simpler
  • only provision dashboards that make sense for each environment (e.g. dockprom dashboards for only those that use dockprom)
  • document other docker stacks in devdocs

changeset is big, but if you follow commit by commit it'll simplify things. lots of it is renames too

@Dieterbe Dieterbe force-pushed the docker-grafana-automatic-provisioning branch from a059716 to 4b22597 Compare September 8, 2018 16:35
mainly needed so we can mount the approriate directories to
auto-provision in grafana.
Later we will likely categorize further based on what they're for.
this solves some of the panels showing errors like:
Datasource named ${DS_GRAPHITE} was not found
note:
* docker-cluster now also has prometheus datasource just like
docker-dev-custom-cfg-kafka
* docker-standard now always autoloads datasources, so no need
for people to manually do it
(exact same thing as docker-dev-custom-cfg-kafka)
note:
* as opposed to the "all environments get all dashboards" approach
  we had before, now each environment only loads dashboards relevant
  (e.g. only dockprom for those monitored with prometheus, and
  the standard env has only the main dashboard)
* update docks for docker-standard as it now auto-loads the dashboard
no longer needed as we use grafana auto provisioning
@Dieterbe Dieterbe force-pushed the docker-grafana-automatic-provisioning branch from 4b22597 to 92f5274 Compare September 10, 2018 07:51
@Dieterbe
Copy link
Contributor Author

rebased on master

@Dieterbe Dieterbe force-pushed the docker-grafana-automatic-provisioning branch from 92f5274 to 112cca5 Compare September 10, 2018 14:47
@Dieterbe
Copy link
Contributor Author

thanks for reviewing @woodsaj 💯

@Dieterbe Dieterbe merged commit 084fead into master Sep 10, 2018
@Dieterbe Dieterbe deleted the docker-grafana-automatic-provisioning branch September 18, 2018 08:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants