[openstack-dev] [telemetry][ceilometer][gnocchi] Query on adding new meters to Gnocchi

Mehdi Abaakouk sileht at sileht.net
Thu Jun 8 12:20:09 UTC 2017

On Thu, Jun 08, 2017 at 08:30:32AM +0000, Deepthi V V wrote:
>Thanks Mehdi for the information. I will soon upload a spec for adding the meters.

We don't use spec, just open a bug, or directly send patches.

>-----Original Message-----
>From: Mehdi Abaakouk [mailto:sileht at sileht.net]
>Sent: Thursday, June 08, 2017 1:44 PM
>To: OpenStack Development Mailing List (not for usage questions) <openstack-dev at lists.openstack.org>
>Subject: Re: [openstack-dev] [telemetry][ceilometer][gnocchi] Query on adding new meters to Gnocchi
>On Thu, Jun 08, 2017 at 05:35:43AM +0000, Deepthi V V wrote:
>>I am trying to add new meters/resource types in gnocchi. I came across 2 files:
>>Gnocchi_resources.yaml and ceilometer_update script which will make Gnocchi api calls for resource_type addition.
>>I have a few queries. Could you please clarify them.
>>  1.  Is it sufficient to add the resource types only in gnocchi_resources.yaml file.
>No, you also need to create resource type with the Gnocchi API.
>>  2.  OR is the ceilometer_update script also required to be modified. Is this script responsible for defining attributes in metadata.
>This script is only for Ceilometer supported resource types. We do not support upgrade if this script is changed or if you add/remove attributes to Ceilometer resource types.
>>  3.  If I have to perform function done by step 2, as an alternative to updating the script, is it correct to bring up the system in following order
>>     *   Change gnocchi_resources.yaml for new resource types.
>>     *   Start ceilometer and gnocchi processes.
>>     *   Execute Gnocchi REST apis to create new resource types.
>I see to two solutions depending of your use case:
>* if your new resource types aim to support a not yet handled Openstack
>  resource. You should consider to contribute upstream to update
>  ceilometer-upgrade and gnocchi_resources.yaml
>* if not, then option 3 is the good way to go.
>Mehdi Abaakouk
>mail: sileht at sileht.net
>irc: sileht
>OpenStack Development Mailing List (not for usage questions)
>Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe

Mehdi Abaakouk
mail: sileht at sileht.net
irc: sileht
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170608/3cc4ce2c/attachment.sig>

More information about the OpenStack-dev mailing list