How to send user defined data to Ceilometer using Oslo? Developing in GoLang.

asked 2015-03-17 17:33:52 -0500

Amer gravatar image

I am working on a project that that sends user-defined metering samples to Ceilometer. I can submit it via Web API as described here: http://docs.openstack.org/developer/ceilometer/webapi/v2.html#user-defined-data (http://docs.openstack.org/developer/c...)

However, we would prefer to send data directly to MQ server or Oslo Bus. I know there is Oslo library that would help. But my project is done in Golang.

Also I am able to push messages to metering.sample queue on MQ server. But problem comes with message signature. It gets rejected by Ceilometer. I am still working out details of signing it based on https://wiki.openstack.org/wiki/MessageSecurity#Message_Signature (https://wiki.openstack.org/wiki/Messa...)

But I am having hard time getting it right. Can someone guide me in correct direction?

Thank you!

edit retag flag offensive close merge delete