Subject: Re: [openstack-dev] [Ceilometer] Unable to add new
metrics using meters.yaml



Hi Srikanth,

As U've noticed those meters are derived from notifications emitted by
other OpenStack services. So please check that 'cord.dns.cache.size'
events are processed correctly.

Also, the last sentences from the guide:
'''
These meters are not loaded by default. 
To load these meters, flip the `disable_non_metric_meters` option in
the ceilometer.conf file '''

Do U have this enabled ?

---
Regards,
Yurii


On Thu, 2017-01-12 at 02:01 +0000, Srikanth Vavilapalli wrote:
> Hi
>
> I was following the instructions @ http://docs.openstack.org/admin-gu
> ide/telemetry-data-collection.html#meter-definitions to add new
> meters to Ceilometer, but not able to make it work.
>
> I verified meters.yaml file in meter/data folder:
>
> ubuntu@mysite-ceilometer-3:/usr/lib/python2.7/dist-
> packages/ceilometer/meter/data$ ls
> meters.yaml
>
>
> I add the following new meter to the end of that file:
>
>   - name: $.payload.name
>     event_type: 'cord.dns.cache.size'
>     type: 'gauge'
>     unit: 'entries'
>     volume: $.payload.cache_size
>     user_id: $.payload.user_id
>     project_id: $.payload.project_id
>     resource_id: '"cord-" + $.payload.base_id'
>
> When I inject 'cord.dns.cache.size' metric from a sample publisher to
> rabbitmq server (@ exchange 'openstack') on which the ceilometer
> notification agents are listening, I don't see these metrics
> appearing in 'ceilometer meter-list' output. Can any one plz let me
> know if I missing any config or change that prevents custom meter
> processing in Ceilometer?
>
> Appreciate ur inputs.
>
> Thanks
> Srikanth
>
> _____________________________________________________________________
> _____
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request@xxxxxxxxxxxxxxxxxxx?subject:unsubs
> cribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@xxxxxxxxxxxxxxxxxxx?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



Programming list archiving by: Enterprise Git Hosting