Skip to content
stackedsax edited this page Dec 30, 2015 · 1 revision

Basic Query

(TODO) This covers the basics of per metrics query.

Advanced Query

(TODO) This covers advanced topics

  • Batch Query

Query Output

The majority of the query is composed of one or many series of data, each series is of the format like the following:

{

{ "numPoints": 2, "average": 95, "timestamp": 1372111500000 },

{ "numPoints": 2, "average": 95, "timestamp": 1372111800000 },

{ "numPoints": 0, "average": null, "timestamp": 1372112100000 },

{ "numPoints": 1, "average": 98, "timestamp": 1372112700000 }

}

To-do: In the case where there is no data for the given metrics during the time period, the numPoints will be set to 0, e.g.

... { "numPoints": 0, "average": null, "timestamp": 1372112100000 }, ...

In the case where the given metrics does not exist, it will return an empty array.

{

}

Clone this wiki locally