[openstack-dev] [Ceilometer] Complex query BP implementation

Jay Pipes jaypipes at gmail.com
Thu Dec 26 16:23:21 UTC 2013


On 12/26/2013 04:24 AM, Julien Danjou wrote:
> On Tue, Dec 24 2013, Jay Pipes wrote:
>
>> I think you may have switched the above? Do you mean POST for sanity (short
>> URLs) and GET for compatibility/standards?
>
> I don't think so, but maybe my sentence wasn't clear, sorry.
>
> I meant that in theory, the right verb to use would be GET as you
> pointed out. However, since using GET with a body is not a common
> practice, also supporting the POST verb as a replacement is a good idea
> for compatibility.

Ah, OK, got it.

>> Can you elaborate why this is not something Ceilometer would be interested
>> in supporting? Would you prefer this kind of thing live in some other
>> component?
>
> I don't think there's any gain in storing data that are tight to a
> consumer application. Storing and retrieving this kind of data, and then
> executing this as a higher cost than just executing a query.
>
> Storing this kind of data to be executed later looks to me like we would
> start building some sort of light PaaS platform. I really don't think
> that's needed at this stage.

K, understood. If we stick with just GET, then I could implement the 
saved query using bit.ly ;)

-jay




More information about the OpenStack-dev mailing list