gnocchi disk read/write data in grafana

asked 2016-12-26 11:18:55 -0500

csj gravatar image

updated 2016-12-26 11:24:39 -0500

Hi, I've install openstack which enabled gnocchi and gafara using kolla deployment. I created a cirros instance and make some graph(disk read/write bytes) in grafana as below

image description

if the data was fetched every 10 minutes and there are some 0B rows between each 10 minutes How can I get rid of the 0B rows in grafana?

here is the part of pipeline.yaml of ceilometer:

- name: disk_source
  interval: 600
  meters:
      - "disk.read.bytes"
      - "disk.read.requests"
      - "disk.write.bytes"
      - "disk.write.requests"
      - "disk.device.read.bytes"
      - "disk.device.read.requests"
      - "disk.device.write.bytes"
      - "disk.device.write.requests"
  sinks:
      - disk_sink

here is the measures show information of cirros instance disk.read.bytes:

(gnocchi) measures show 270367f8-91fb-4b5b-bcb8-7eec0e37262d
+---------------------------+-------------+---------------+
| timestamp                 | granularity |         value |
+---------------------------+-------------+---------------+
| 2016-12-26T00:00:00+00:00 |     86400.0 | 20184746.6667 |
| 2016-12-26T16:00:00+00:00 |      3600.0 |    20184064.0 |
| 2016-12-26T17:00:00+00:00 |      3600.0 |    20188160.0 |
| 2016-12-26T16:15:00+00:00 |       300.0 |    20183040.0 |
| 2016-12-26T16:25:00+00:00 |       300.0 |    20183040.0 |
| 2016-12-26T16:35:00+00:00 |       300.0 |    20183040.0 |
| 2016-12-26T16:45:00+00:00 |       300.0 |    20183040.0 |
| 2016-12-26T16:55:00+00:00 |       300.0 |    20188160.0 |
| 2016-12-26T17:05:00+00:00 |       300.0 |    20188160.0 |
+---------------------------+-------------+---------------+

and here is the table's option image description

edit retag flag offensive close merge delete