Available Metrics

Determine which metrics are available to return historical data for. Metrics can be returned for the whole account, a specific item (device or service), or the scope can be narrowed using a filter.

Scope

You can define the scope of the query using the scope list in your filter. It has the format type: id where type is one of the following

Type

Description

Example

item

The ObjectId string which uniquely identifies the item

{"item": "5a79e996b03e85b1378b456f"}

group

A list of item identifiers

{"group": ["5a79e996b03e85b1378b456f", "5a79e996b03e85b1378b456d"]}

filter

A list of search terms, searching the inventory

{"filter":"web*"}

serviceGroup

A service group name string

{"serviceGroup": "services"}

deviceGroup

a device group name string

{"deviceGroup": "devices"}

Metrics

You can further define the scope by specifying the metrics to be returned in your filter. Metrics can be searched by exact match, or by regex. This has the format {'type': 'eq|re', 'value': 'val'} with eq meaning exact match and re meaning regex.

Examples are provided above.

Language
Authentication
Query