Grafana graphs drop down to 0 sometimes

Bug #1526383 reported by Simon Pasquier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StackLight
Confirmed
Medium
Simon Pasquier
0.10
Won't Fix
Undecided
Unassigned
0.9
Won't Fix
Medium
LMA-Toolchain Fuel Plugins

Bug Description

See attached screenshot. Instead of 'fill(0)' we should use 'fill(previous)' in the InfluxDB queries.

Revision history for this message
Simon Pasquier (simon-pasquier) wrote :
Revision history for this message
Swann Croiset (swann-w) wrote :

an other solution would be to set the 'Now delay' option to 30s to ignore the last 30 seconds

Changed in lma-toolchain:
status: Triaged → Confirmed
Swann Croiset (swann-w)
tags: added: grafana influxdb
Revision history for this message
Simon Pasquier (simon-pasquier) wrote :

@Swann using 'Now delay' may not fix it everywhere since some metrics are only collected 60s.

Changed in lma-toolchain:
assignee: nobody → LMA-Toolchain Fuel Plugins (mos-lma-toolchain)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugin-influxdb-grafana (master)

Fix proposed to branch: master
Review: https://review.openstack.org/279114

Changed in lma-toolchain:
assignee: LMA-Toolchain Fuel Plugins (mos-lma-toolchain) → Simon Pasquier (simon-pasquier)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-plugin-influxdb-grafana (master)

Change abandoned by Simon Pasquier (<email address hidden>) on branch: master
Review: https://review.openstack.org/279114
Reason: This change missed the point completely!

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugin-influxdb-grafana (master)

Fix proposed to branch: master
Review: https://review.openstack.org/279422

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-plugin-influxdb-grafana (master)

Reviewed: https://review.openstack.org/279422
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-influxdb-grafana/commit/?id=9c969c7e7df6042ddc1810bc4364ffa36016554b
Submitter: Jenkins
Branch: master

commit 9c969c7e7df6042ddc1810bc4364ffa36016554b
Author: Simon Pasquier <email address hidden>
Date: Fri Feb 12 09:34:16 2016 +0100

    Use fill(previous) instead of fill(0)

    This change uses fill(previous) instead of fill(0) to avoid drops in the
    graphs when the latest data isn't available in InfluxDB yet.

    Change-Id: I4e540a08997b420140cb1c99397321e4a0f82273
    Closes-Bug: #1526383

Changed in lma-toolchain:
status: In Progress → Fix Committed
Revision history for this message
Swann Croiset (swann-w) wrote :

The fix has an undesirable side effect: a graph stays flat (because filled w/ previous value) when no data:

This is particularly troubling for example for HTTP POST response time: see screenshot

IMO, it should be reverted.

We may consider the "Now delay" option instead.

Revision history for this message
Simon Pasquier (simon-pasquier) wrote :

'Now delay' isn't perfect either because you always get an outdated version of the metrics.

My take is:
1. revert to use fill(0)
2. use fill(previous) wherever it makes sense like, eg for metrics that are collected at less frequent intervals.

Revision history for this message
Swann Croiset (swann-w) wrote :

make sense, you are right 'Now delay' is global across all graphs and it's not ideal solution.

I reopened the bug and we should probably target it to 1.0

Changed in lma-toolchain:
status: Fix Committed → Confirmed
Revision history for this message
Simon Pasquier (simon-pasquier) wrote :

+1

Swann Croiset (swann-w)
Changed in lma-toolchain:
status: Confirmed → Won't Fix
no longer affects: lma-toolchain/1.0
Changed in lma-toolchain:
status: Won't Fix → Confirmed
milestone: 1.0.0 → 0.10.0
Changed in lma-toolchain:
status: Confirmed → Won't Fix
no longer affects: lma-toolchain/0.11
Changed in lma-toolchain:
status: Won't Fix → Confirmed
milestone: 0.10.0 → 1.0.0
Changed in lma-toolchain:
milestone: 1.0.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.