public class MeasurementsRestService
The Measurements API provides read-only access to values
persisted by the collectors.
Measurements are referenced by combination of resource id
and attribute name.
Calculations may then be performed on these measurements
using JEXL expressions.
Units of time, including timestamps are expressed in milliseconds.
This API is designed to be similar to the one provided
public QueryResponse simpleQuery(String resourceId,
Retrieves the measurements for a single attribute.
Retrieves the measurements of many resources and performs
arbitrary calculations on these.
This a read-only query, however we use a POST instead of GET
since the request parameters are difficult to express in a query string.