heat-translator/translator
hoangphuocbk 9e3a6157f0 Move usage from deprecated Ceilometer API to Gnocchi API
This removes usage of deprecated Ceilometer API

1. Changing trigger type from "OS::Ceilometer::Alarm"
to "OS::Aodh::GnocchiAggregationByResourcesAlarm"
2. Add "resource_type" fixed with value "instance"
3. Change some paramters (meter_name-> metric,
statistic ->aggregation_method, period-> granularity)
4. Change value from "average" to "mean" in method to
compare to the threshold

Change-Id: I66f8e4c76a918494df26b4af277453e24421b917
2018-05-16 01:26:51 +09:00
..
common Use id to identify images from Glance 2017-09-20 11:41:43 +02:00
conf Formatters ConfigParser NoSectionError 2016-04-14 19:43:23 +05:30
container/docker Add sample dockerfile to build translator container 2017-03-09 11:51:02 -08:00
custom Accept defined unknown node types if they inherit a known TOSCA root type 2016-01-25 17:19:16 +01:00
hot Move usage from deprecated Ceilometer API to Gnocchi API 2018-05-16 01:26:51 +09:00
osc Provide support for legacy translate api 2017-01-05 14:14:52 -08:00
tests Move usage from deprecated Ceilometer API to Gnocchi API 2018-05-16 01:26:51 +09:00
__init__.py Fix installation package name 2015-05-26 19:08:55 +00:00
shell.py Ignore error if the log config file is not present 2017-09-19 14:38:16 +02:00