aboutsummaryrefslogtreecommitdiffstats
path: root/3rd_party/collectd-ves-app/ves_app/normalizer.py
AgeCommit message (Collapse)AuthorFilesLines
2019-12-12Python 2 to 3 migration fixesTomaszewski, PawelX1-4/+7
Change-Id: I487632435ae575c2507e58ee5682aa03934391b8 Signed-off-by: Pawel Tomaszewski <pawelx.tomaszewski@intel.com> Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2019-12-12Python 2 to 3 migration of collectd-ves-appPawel Tomaszewski1-25/+20
Change-Id: I656a67864d821454e5ecc1ed60ce601c872da23d Signed-off-by: Pawel Tomaszewski <pawelx.tomaszewski@intel.com> Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2017-11-17VES YAML: Add node VES message definitionMytnyk, Volodymyr1-9/+10
Added new YAML configuration, which allows the VES app to generate the VES messages for guest,host and hypervisor separately. - Fix bug in `INDEX-KEY` definition - Verbose error messages Change-Id: I1dddcfc79b27dc68249465f287be34519096c546 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2017-10-18VES: add new tag to strip extra dashesMytnyk, Volodymyr1-1/+10
The `!StripExtraDash` tag can be used in YAML configuration file to strip extra dashes in the YAML filed value. This may happen if some of the collectd plugin field (plugin_instance, type_instace etc.) is set to empty value but the field is specified in the YAML configuration file. For instance: "{vl.plugin_instance}-{vl.type_instance}" The result fo the example above can be string consisting extra dashes if `type_instace` field is not set by a collectd plugin: "load-" Change-Id: I5cf7b19902acdfb0b4a93f3bf0c8b8e05cff2e97 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2017-10-16Simplify RE validationPeter Barabas1-3/+1
Change-Id: Icbafb709556cb644c42a35303f5cc76500f404ee Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2017-10-11VES: Add guest support modeMytnyk, Volodymyr1-1/+3
- Fix RE validation. Change-Id: I01bbde4adc85980b49ee43e92a42de1022bd8f4e Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2017-10-03VES: Implement YAML configuration supportMytnyk, Volodymyr1-0/+598
- Added YAML schema config file - Moved host metrics into additionalMeasurements - Moved VNF (virt) metrics into additionalFields Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com> Change-Id: I35e5e20750c375a61928ce3c925287f1b9cabdca