Skip to main content

synthetics_browser_test_results

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

Overview

Namesynthetics_browser_test_results
TypeResource
Iddatadog.monitoring.synthetics_browser_test_results

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
result_idstringID of the browser test result.
checkobjectObject describing the browser test configuration.
check_timenumber (double)When the browser test was conducted.
check_versioninteger (int64)Version of the browser test used.
probe_dcstringLocation from which the browser test was performed.
resultobjectObject containing results for your Synthetic browser test.
statusinteger (int64)The status of your Synthetic monitor. * O for not triggered * 1 for triggered * 2 for no data (0, 1, 2)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_browser_test_resultselectpublic_id, result_idGet a specific full result from a given Synthetic browser test.
get_browser_test_latest_resultsselectpublic_idfrom_ts, to_ts, probe_dcGet the last 150 test results 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 browser test for which to search results for.
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.
from_tsinteger (int64)Timestamp in milliseconds from which to start querying results.
probe_dcarrayLocations for which to query results.
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
result_id,
check,
check_time,
check_version,
probe_dc,
result,
status
FROM datadog.monitoring.synthetics_browser_test_results
WHERE public_id = '{{ public_id }}' -- required
AND result_id = '{{ result_id }}' -- required
;