[LMA] Upgrade InfluxDB and Grafana components

Registered by Simon Pasquier

The current version of the InfluxDB-Grafana plugin is based on InfluxDB v0.8 and Grafana v1.9. Both versions are currently unsupported and the latest releases (respectively 0.9 and 2.1) include lots of features that we want to leverage:
* InfluxDB v0.9 supports tags (instead of encoding them manually in the series names).
* Grafana v2.1 has new panel types, support for users & groups, datasource proxy and many others. It also required to support InfluxDB 0.9.

Blueprint information

Status:
Complete
Approver:
Patrick Petit
Priority:
Undefined
Drafter:
Simon Pasquier
Direction:
Needs approval
Assignee:
Simon Pasquier
Definition:
Approved
Series goal:
Proposed for 7.0.x
Implementation:
Implemented
Milestone target:
milestone icon 7.0
Started by
Simon Pasquier
Completed by
Simon Pasquier

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/upgrade-influxdb-grafana,n,z

Addressed by: https://review.openstack.org/203100
    Add the influxdb_legacy flag

Addressed by: https://review.openstack.org/203101
    Install Heka 0.10 when deployed with InfluxDB 0.9

Addressed by: https://review.openstack.org/203102
    Add encoder for InfluxDB v0.9

Addressed by: https://review.openstack.org/204466
    WIP: Add new collectd decoder for InfluxDB 0.9

Gerrit topic: https://review.openstack.org/#q,topic:update-influxdb,n,z

Addressed by: https://review.openstack.org/205466
    Upgrade influxdb to 0.9.2-rc2

Gerrit topic: https://review.openstack.org/#q,topic:update-version,n,z

Addressed by: https://review.openstack.org/205498
    [WIP] Upgrade Grafana to 2.1

Addressed by: https://review.openstack.org/206340
    Update HTTP metrics filter for InfluxDB 0.9

Addressed by: https://review.openstack.org/207047
    Update resource creation and state metric filters

Addressed by: https://review.openstack.org/207062
    Update decoder for Pacemaker metrics

Addressed by: https://review.openstack.org/207763
    Move Pacemaker resources monitoring to collectd

Addressed by: https://review.openstack.org/207764
    Update Heka to version 0.10

Addressed by: https://review.openstack.org/207911
    Add Grafana provider for grafana_dashboard

Addressed by: https://review.openstack.org/207912
    Add a grafana_datasource resource

Addressed by: https://review.openstack.org/207921
    Add Grafana provider for grafana_dashboard

Addressed by: https://review.openstack.org/207922
    Add a grafana_datasource resource

Addressed by: https://review.openstack.org/208374
    Change the name of the 'users' metric

Addressed by: https://review.openstack.org/208382
    Update the System dashboard

Addressed by: https://review.openstack.org/208396
    Update the System dashboard

Addressed by: https://review.openstack.org/209083
    Add support for bulk metric message

Addressed by: https://review.openstack.org/209501
    Update service status filter for InfluxDB 0.9

Addressed by: https://review.openstack.org/209925
    Monitor the Grafana process

Addressed by: https://review.openstack.org/210082
    Update annotation filter for InfluxDB 0.9

Addressed by: https://review.openstack.org/210083
    Fix typos in collectd decoder

Addressed by: https://review.openstack.org/210084
    Update service heartbeat filter for InfluxDB 0.9

Gerrit topic: https://review.openstack.org/#q,topic:add-annotation-filter-for-new-influxdb,n,z

Addressed by: https://review.openstack.org/210261
    Update the main dashboard for InfluxDB 0.9

Addressed by: https://review.openstack.org/212094
    Update Grafana dashboards for InfluxDB 0.9

Addressed by: https://review.openstack.org/212148
    Switch to InfluxDB 0.9 mode by default

Addressed by: https://review.openstack.org/213641
    Switch to InfluxDB 0.9 mode

Addressed by: https://review.openstack.org/214042
    Merge remote-tracking branch 'origin/feature/upgrade-influxdb-grafana' into merge-upgrade-influxdb-grafana-into-master

Addressed by: https://review.openstack.org/215636
    Add tests for lma_collector::collectd resources

Addressed by: https://review.openstack.org/215637
    Support for Ceph metrics with InfluxDB 0.9

Addressed by: https://review.openstack.org/215644
    Update Ceph dashboards

Addressed by: https://review.openstack.org/217274
    Update tests for the LMA plugins for InfluxDB 0.9

Gerrit topic: https://review.openstack.org/#q,topic:upgrade-lma-plugins,n,z

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.