Skip to main content

synthetics_test_browser_results

Creates, updates, deletes, gets or lists a synthetics_test_browser_results resource.

Overview

Namesynthetics_test_browser_results
TypeResource
Iddatadog.monitoring.synthetics_test_browser_results

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe result ID. (example: 5158904793181869365)
attributesobjectAttributes of a Synthetic test result.
relationshipsobjectRelationships for a Synthetic test result.
typestringType of the Synthetic test result resource, result. (result) (default: result, example: result)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_synthetics_browser_test_resultselectpublic_id, result_idevent_id, timestampGet a specific full result from a given Synthetic browser test.
list_synthetics_browser_test_latest_resultsselectpublic_idfrom_ts, to_ts, status, run_type, probe_dc, device_idGet the latest result summaries for a given Synthetic browser test.

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.

NameDatatypeDescription
public_idstringThe public ID of the Synthetic browser test for which to search results.
result_idstringThe ID of the result to get.
sitestringThe 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.
device_idarrayDevice IDs for which to query results.
event_idstringThe event ID used to look up the result in the event store.
from_tsinteger (int64)Timestamp in milliseconds from which to start querying results.
probe_dcarrayLocations for which to query results.
run_typestringFilter results by run type. (wire: runType)
statusstringFilter results by status.
timestampinteger (int64)Timestamp in seconds to look up the result.
to_tsinteger (int64)Timestamp in milliseconds up to which to query results.

SELECT examples

Get a specific full result from a given Synthetic browser test.

SELECT
id,
attributes,
relationships,
type
FROM datadog.monitoring.synthetics_test_browser_results
WHERE public_id = '{{ public_id }}' -- required
AND result_id = '{{ result_id }}' -- required
AND event_id = '{{ event_id }}'
AND timestamp = '{{ timestamp }}'
;