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

use aerogearcatalog custom Grafana image #22

Merged
merged 4 commits into from
Feb 5, 2018
Merged

Conversation

darahayes
Copy link

@darahayes darahayes commented Feb 5, 2018

Description

Myself and @StevenTobin have built a custom Grafana image based off the Grafana master branch at a certain point in time. The image also has the pie chart panel and worldmap panel plugins baked in baked in by default.

It's been pushed to https://hub.docker.com/r/aerogearcatalog/grafana/. This PR switches us over to using that image. (also minor side note: it also enables debug logging in Grafana by default)

Why?

  • We're using features that are only available on the master branch of Grafana. These features will become GA with the Grafana 5.0 release in the next few months. Right now the problem is the master branch is pretty unstable. We've run into a couple of issues where dashboard and datasource discovery stopped working. The custom image will help us avoid these kinds of issues by locking us down to a commit that is known to be pretty stable.

  • We currently have issues where we cannot install any plugins into Grafana running in OpenShift. We haven't worked out a good solution yet but we need something in place because the keycloak dashboard depends on plugins. See the discussion at Adds a Grafana dashboard for the metrics gathered in Prometheus keycloak-apb#33 (review) to better understand the plugins issue.

The approach of baking the plugins is not the best. We tried an approach where the plugins would be installed at startup time using an environment variable but there were issues where Grafana wouldn't start up as a result. We think this may be a bug in Grafana itself. However, this should keep us going for the time being as we figure out a better solution.

cc @david-martin

Edit: I forgot to mention, we made a fork of the grafana build tools repo here: https://github.com/aerogear/grafana-docker

This was the repo used to build and push the docker image to dockerhub.

Copy link
Contributor

@StevenTobin StevenTobin left a comment

Choose a reason for hiding this comment

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

👍

@josemigallas
Copy link
Contributor

Works all right 👍

@pb82
Copy link
Contributor

pb82 commented Feb 5, 2018

Ignore my previous comment, tested locally and worked: i didn't need to restart grafana after keycloak deployment. The dashboard was available 👍

@darahayes darahayes merged commit 2dc5449 into master Feb 5, 2018
@darahayes darahayes deleted the aerogear-grafana branch February 5, 2018 13:58
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.

4 participants