No measures in gnocchi after unit conversion

asked 2017-04-11 10:27:42 -0500

m.timonin gravatar image

Hi! Have the next sink with unit_conversion bytes to megabytes. There is a log like in in agent-notification.log:

"2017-04-11 18:14:51.441 12762 DEBUG ceilometer.transformer.conversions [-] converted to: <name: disk.write.megabytes,="" volume:="" 657.4765625,="" resource_id:="" 10a7ca4c-f69e-4bd6-a285-74aec6f114ff,="" timestamp:="" 2017-04-11t15:14:51.229549=""> handle_sample /usr/lib/python2.7/site-packages/ceilometer/transformer/conversions.py:165"

Gnocchi resource show display the metric in metrics list for the resource, but gnocchi measures shows 0 measures for the pair. So, how can I found the measure?

- name: disk_sink
  transformers:
      - name: "unit_conversion"
        parameters:
            source:
                map_from:
                    name: "(disk\\.device|disk)\\.(read|write)\\.bytes"
            target:
                map_to:
                    name: "\\1.\\2.megabytes"
                scale: "volume * 1.0 / 1048576.0"
                unit: "MB"
 publishers:
      - notifier://
      - gnocchi://
edit retag flag offensive close merge delete