[Openstack] [Ceilometer] Meter statistics with period parameter

Eoghan Glynn eglynn at redhat.com
Thu Dec 19 07:49:19 UTC 2013


Hi Mark,

It's my-meter-name as opposed to my-meter-id, but something like the
following should work:

  http://host:8777/v2/meters/cpu_util/statistics?period=60

What version are you using?

Cheers,
Eoghan

----- Original Message -----
> Hi all,
> 
> I notice in the Ceilometer V2 web API that it's possible to set a period for
> meter statistics but I don't quite understand the format of how to do so. In
> the functional examples section it says to pass URL parameters, but when I
> send a GET to
> 
> http://my-vm-hostname:8777/v2/meters/my-meter-id/statistics?period=3600
> 
> I get an error that contains faultstring": "unsupported operand type(s) for
> -: 'NoneType' and 'NoneType'"
> 
> Can somebody point me to what I'm doing wrong?
> 
> Thanks,
> Mark
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 




More information about the Openstack mailing list