Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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

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

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

Thank you!