metrics

GET /api/v1/metrics/checks/dimensions/

Returns the distinct values present in the data for the requested dimension.

Used to populate filter/group-by dropdowns in clients. Works for any dimension listed in the schema for the data type. For synthetic data types (float, int, string), only common dimensions (location, etc.) are available.

Request

Query parameters

check_idinteger required

The check to query.

data_typestring required

MDB data type (e.g. http, pagespeed, float). Required.

dimensionstring required

Dimension name to enumerate values for (e.g. location, step_number). Must be a dimension listed in the schema for the data type.

start_datestring

Range start (ISO 8601, UTC). Defaults to 24 hours ago.

end_datestring

Range end (ISO 8601, UTC). Defaults to now.

Response

check_idinteger required

The check to query.

data_typestring required

MDB data type (e.g. http, pagespeed, float). Required.

dimensionstring required

Dimension name to enumerate values for (e.g. location, step_number). Must be a dimension listed in the schema for the data type.

start_datestring date-time

Range start (ISO 8601, UTC). Defaults to 24 hours ago.

end_datestring date-time

Range end (ISO 8601, UTC). Defaults to now.

Changes

No recorded changes to this operation across all 1 revision of this API.