Merge "Doc: clearly state that one can filter on metadata"

This commit is contained in:
Jenkins 2013-08-19 07:19:27 +00:00 committed by Gerrit Code Review
commit e67d987ffb

View File

@ -50,7 +50,9 @@ should be a list of Query data structures. Whatever the endpoint you
want to apply a filter on, you always filter on the fields of the *Sample*
type (for example, if you apply a filter on a query for statistics,
you won't target *duration_start* field of *Statistics*, but *timestamp*
field of *Sample*):
field of *Sample*). You may also apply filters based on the values of one
or more of the *resource_metadata* field, in which case you should target
*metadata.<field>*.
.. autotype:: ceilometer.api.controllers.v2.Query
:members: