synthetics_test_uptimes
Creates, updates, deletes, gets or lists a synthetics_test_uptimes resource.
Overview
| Name | synthetics_test_uptimes |
| Type | Resource |
| Id | datadog.monitoring.synthetics_test_uptimes |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
fetch_uptimes | exec | from_ts, to_ts, public_ids | Fetch uptime for multiple Synthetic tests by ID. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
site | string | The Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both. |
Lifecycle Methods
EXEC variables use wire (API) names.
- fetch_uptimes
Fetch uptime for multiple Synthetic tests by ID.
EXEC datadog.monitoring.synthetics_test_uptimes.fetch_uptimes
@@json=
'{
"from_ts": {{ from_ts }},
"public_ids": "{{ public_ids }}",
"to_ts": {{ to_ts }}
}'
;