Page MenuHomePhabricator

Upgrade to Grafana v2.x
Closed, ResolvedPublic

Description

There's various new features in Grafana v2.

Here's a few I'd like to start using:

There've also been various bug fixes and performance improvements. Our current version has quite a few annoying bugs and sluggish behaviour at times that I can't reproduce v2.

We currently install Grafana via Trebuchet:

I don't know to what extent there are breaking changes or migration requirements, but if not, pushing a build may be all that's needed. It looks like v2 involves a Go server.

Event Timeline

Krinkle raised the priority of this task from to Needs Triage.
Krinkle updated the task description. (Show Details)
Krinkle added projects: acl*sre-team, Grafana.
Krinkle added subscribers: Krinkle, ori.
Krinkle set Security to None.
fgiunchedi triaged this task as Medium priority.Jul 21 2015, 1:58 PM
fgiunchedi subscribed.

I did a brief review of the debian package for grafana v2 and it seems usable, we could import it into apt.wikimedia.org, no source package though

Indeed grafana now features a Go server (possibly used as a proxy) to avoid CORS quirkness among other new features. There is a migration guide as already mentioned so it should be possible to upgrade (famous last words). I am willing to give it a try

In other news, and I am just mentioning this, facette ( https://github.com/facette/facette ) has gone the same way (Go server)

Was looking for logScale stuff recently. It seems the version of Grafana we're running right now is some interim pre-release-2.0.0 state before 2.0.0-Beta1. There's been a few 2.0.0-BetaX, then 2.0.X and 2.1.X releases since then. Anything from the actual 2.0.0-Beta1 point onwards would give us the logScale stuff.

Change 245504 had a related patch set uploaded (by Ori.livneh):
Provision Grafana 2 on grafana-test.wikimedia.org

https://gerrit.wikimedia.org/r/245504

Patches:

  • Idd37460aa82: Provision Grafana 2 on grafana-test.wikimedia.org
  • Ife115e0c902: VCL: misc varnish: proxy grafana-testing.wm.o to krypton as well
  • Id44f150f89f: DNS: Add grafana-test.wikimedia.org, behind misc-web-lb
  • I77d483d3113: APT: reprepro: import from grafana apt

Or see https://gerrit.wikimedia.org/r/#/q/topic:grafana2,n,z

Change 245504 merged by Ori.livneh:
Provision Grafana 2 on grafana-test.wikimedia.org

https://gerrit.wikimedia.org/r/245504

Grafana 2 is now running on https://grafana-test.wikimedia.org/.

I imported all existing Grafana dashboards from our Grafana 1.x installation.

The next step is to test it and make sure there are no major regressions. Once that is done, we can get rid of 1.x, and make grafana-test.wm.o be the new grafana.wm.o.

There are now two vhosts:

Thanks! log-scale y-axis now works :)