Ask Your Question

Revision history [back]

getting meter sample from celilometer

want to get last sample for more than one resource ID for a meter in celimeter, with one query , what query should I use.

It seems following query will use the AND b/w two resourceIDs, and I want OR ( means want last sample for both the resourceIDs)

GET /v2/meter/cpu q: [{"field": "resource_id", "op": "eq", "value": "64da755c-9120-4236-bee1-54acafe24980"} {"field": "resource_id", "op": "eq", "value": "64da755c-9120-4237-bee1-54acafe24980"} ] limit: 1

getting meter sample from celilometer

want OR operand is not documented for ceilometer to get last sample support RESTFul queries for more than one resource ID for a meter in celimeter, with one query , what query should I use.parameter.

It seems following Example, user want to query will use the AND b/w two resourceIDs, and I want OR ( means want last sample for both the resourceIDs)CPU meter for more than resource IDs.Please guide, as how this can be achieved ?

GET /v2/meter/cpu q: [{"field": "resource_id", "op": "eq", "value": "64da755c-9120-4236-bee1-54acafe24980"} "R1"}, {"field": "resource_id", "op": "eq", "value": "64da755c-9120-4237-bee1-54acafe24980"} "R2"} ] limit: 1

getting meter sample from celilometer

OR operand is not documented for ceilometer to support RESTFul queries for more than one parameter.

Example, user want to query last sample for CPU meter for more than resource IDs.Please guide, as how this can be achieved ?

The following query seems to support AND operand.

GET /v2/meter/cpu q: [{"field": "resource_id", "op": "eq", "value": "R1"}, {"field": "resource_id", "op": "eq", "value": "R2"} ] limit: 1

getting meter sample from celilometerceilometer for more than one resource_id

OR operand is not documented for ceilometer to support RESTFul queries for more than one parameter.

Example, user want to query last sample for CPU meter for more than resource IDs.Please guide, as how this can be achieved ?

The following query seems to support AND operand.

GET /v2/meter/cpu q: [{"field": "resource_id", "op": "eq", "value": "R1"}, {"field": "resource_id", "op": "eq", "value": "R2"} ] limit: 1

getting meter sample samples OR STATISTICS from ceilometer for more than one resource_id

getting meter samples OR statistics from ceilometer for more than one resource_id

OR operand is not documented for ceilometer to support RESTFul queries for more than one parameter. resource_id.

Example, user want to query last sample for CPU meter for more than resource IDs.Please IDs.

Please guide, as how this can be achieved ?

The following query seems to support AND operand.

GET /v2/meter/cpu q: [{"field": "resource_id", "op": "eq", "value": "R1"}, {"field": "resource_id", "op": "eq", "value": "R2"} ] limit: 1

getting with one query want to get meter samples OR STATISTICS statistics from ceilometer for more than one resource_id

getting with one query want to get meter samples OR statistics from ceilometer for more than one resource_id

OR operand is not documented for ceilometer to support RESTFul queries for more than one resource_id.

Example, user want to query last sample for CPU meter for more than resource IDs.

Please guide, as how this can be achieved ?

with one query want to get meter samples OR statistics from ceilometer for more than one resource_id

with one query want to get meter samples OR statistics from ceilometer for more than one resource_id

OR operand is not documented for ceilometer to support RESTFul queries for more than one resource_id.

Example, user want to query last sample for CPU meter for more than resource IDs.

Please guide, as how this can be achieved ?

click to hide/show revision 8
No.8 Revision

with one query want to get meter samples OR statistics from ceilometer for more than one resource_id

with one query want to get meter samples OR statistics from ceilometer for more than one resource_id

resource_id OR operand is not documented for ceilometer to support RESTFul queries for more than one resource_id.

Example, user want to query last sample for CPU meter for more than resource IDs.

Please guide, as how this can be achieved ?