Thanks Gord Yes, for my quick test, I directly added a new exchange to listen for in meter/notifications.py and verified that the custom metrics are getting processed after that.
Thanks Srikanth -----Original Message----- From: gordon chung [mailto:g...@live.ca] Sent: Monday, January 16, 2017 6:09 AM To: openstack-dev@lists.openstack.org Subject: Re: [openstack-dev] [Ceilometer] Unable to add new metrics using meters.yaml On 13/01/17 06:47 PM, Srikanth Vavilapalli wrote: > So the question is, is there any config that I can use to let > "ceilometer/meter/notifications.py" listen on other rabbitmq exchanges in > addition to predefined ones, such that this framework can be extended to > receive meters from non openstack services? Appreciate your inputs. sorry, hit send to quickly. you could also hack the code to support your exchange[1]. i also believe in theory, you should be able to re-use http_control_exchanges to leverage your custom exchanges[2] [1] https://github.com/openstack/ceilometer/blob/aa3f491bb714c613681125d242e4c9ea254bdbe2/ceilometer/meter/notifications.py#L210 [2] https://github.com/openstack/ceilometer/blob/34a699a598122f2f1f44e5f169ee21d6c22665d0/ceilometer/middleware.py#L30 cheers, -- gord __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev