- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
On the Synthetic Monitoring & Continuous Testing Settings page, you can access and control the following topics:
On the Usage Attribution page, you can configure up to three tags by which to break down cost and usage attributes. Select Enforce tags for usage attribution on all tests to require that users enter all configured Usage Attribution tags when creating or editing Synthetic tests. With this setting enabled, users cannot save tests without entering all required tags.
On the Synthetic Monitoring and Testing settings page, select Enforce required monitor tag policies on all tests to require that user-defined monitor tag policies are enforced on Synthetic tests. With this setting enabled, users cannot save tests without entering all required tags.
Choose the default locations for your API test, multistep API test, or browser test details.
Your options include all of the available managed locations Datadog offers and the private locations you set up for your account.
When you are done selecting locations, click Save Default Locations.
Choose the default browser and device types for your browser test details.
Your options for browsers include Google Chrome, Mozilla Firefox, and Microsoft Edge. Your options for devices include a large laptop, a tablet, and a small mobile device.
When you are done selecting browsers and devices, click Save Default Browsers & Devices.
Choose or add the default tags for your API test, multistep API test, or browser test details.
When you are done selecting related tags, click Save Default Tags.
Add the default timeouts for your API test details.
When you are done entering the new timeouts, click Save Default Timeouts.
Choose or add the default frequencies for your API test, browser test, or mobile test details.
When you are done selecting related tags, click Save Default Frequencies.
Choose or add the default number of times you’d like your test to retry on failure for your API test, browser test, or mobile test details.
When you are done entering the default retry values, click Save Default Retries.
Choose or add the default mobile devices you want to use in your mobile test details.
When you are done entering the default mobile devices, click Save Default Devices.
By default, only users with the Datadog Admin and Datadog Standard roles can access the Synthetic Monitoring Default Settings page. To get access to the Default Settings page, upgrade your user to one of those two default roles.
If you are using the custom role feature, add your user to any custom role that includes synthetics_default_settings_read
and synthetics_default_settings_write
permissions.
Datadog’s APM integration headers allow Datadog to link browser tests with APM.
Define which endpoints you want to send the APM headers to by adding a URL to the Value list. If the endpoint is being traced and is allowed, your browser test results are automatically tied to its corresponding trace.
Use *
to allow wider domain names. For example, adding https://*.datadoghq.com/*
allows everything on https://datadoghq.com/
. When you are done adding URLs, click Save APM Integration Settings.
For more information, see Connect Synthetics and APM Traces.
To allow Datadog to collect RUM data from your test runs, click Enable Synthetic RUM data collection. If disabled, you cannot edit RUM settings in the browser test recorder. To apply changes, click Save RUM Data Collection.
Select a default application for new browser tests to send data. Use the Default Application dropdown menu to select a RUM application that collects browser test data. To apply changes, click Save RUM Data Applications.
For more information, see Explore RUM & Session Replay.
For more information, see Run Synthetic Tests from Private Locations.
Global variables are variables that are accessible from all your Synthetic tests. They can be used in all single, multistep API tests, browser tests, and mobile app tests of your test suite.
To create a global variable, navigate to the Global Variables tab on the Synthetic Monitoring & Continuous Testing > Settings page and click + New Global Variable.
Choose the type of variable you want to create:
{{ alphabetic(n) }}
built-in to populate the Value field with an example of an alphabetic value.The following built-ins are available:
n
digits.n
letters.n
characters.n
units.n
units.You can create variables from your existing HTTP tests by parsing their associated response headers and body or from your existing Multistep API tests by using their extracted variables.
Enter a Variable Name. Your variable name can only use uppercase letters, numbers, and underscores.
Optionally, enter a Description and select Tags to associate with your variable.
Enable obfuscation of your variable to hide its value on test results (optional).
Select the test you want to extract a variable from.
If you are using a multistep API test, extract your local variable from the test. If you are using an HTTP test, choose to extract your variable from the response header or the response body.
regex
.regex
, a jsonpath
, an xpath
, or use the full response body.In addition to extracting a value with a regex, you can also use a regex to parse the following:
Variable values are updated whenever the test they are extracted from runs.
To generate and use a TOTP in your tests, create a global variable where you enter a secret key or upload a QR code from your authentication provider. Note: Currently, only the SHA1 hashing algorithm is supported for TOTP.
For more information about TOTP-based MFA in a browser test, see TOTPs For Multi-Factor Authentication (MFA) In Browser Tests.
To complete a user journey with a passkey in your Synthetics tests, create a Virtual Authenticator global variable. This global variable is used to generate and store passkeys for all your Synthetics browser tests. For more information, see Using passkeys In Browser Tests.
Navigate to the Global Variables tab in Synthetic Monitoring & Continuous Testing > Settings and click + New Global Variable.
In the Choose variable type section, select Virtual Authenticator.
In the Specify variable details section, enter a Variable Name. Your variable name can only use uppercase letters, numbers, and underscores.
Optionally, enter a Description, and select Tags to associate with your variable. Datadog then creates a virtual authenticator used to generate and store your passkeys.
In the Permissions settings section, restrict access to your variable based on roles in your organization. For more information about roles, see the RBAC documentation.
Once created, global variables can be used in all Synthetic tests. To import your global variables into your test, click + Variables, type {{
in a field you want to add the variable, and select your global variable.
For more information about variables, see the HTTP test, Multistep API test, Browser test, Mobile app test, and Browser Test Steps documentation.
By default, only users with the Datadog Admin and Datadog Standard roles can access the Synthetic Monitoring Global Variables page. You can get access to the Global Variables page by having your user upgraded to one of those two default roles.
If you are using the custom role feature, add your user to any custom role that includes synthetics_default_settings_read
and synthetics_default_settings_write
permissions.
Access restriction is available for customers using custom roles on their accounts. If you are using the custom role feature, add your user to any custom role that includes synthetics_global_variable_read
and synthetics_global_variable_write
permissions.
You can restrict access to a global variable based on the roles in your organization. When creating a global variable, choose which roles (in addition to your user) can read and write your global variable in Permissions settings.
Allow URLs to add APM integration headers to those URLs. Datadog’s APM integration headers allow Datadog to link browser tests with APM.
Define which endpoints you want to send the APM headers to by entering a URL in the Value field. If the endpoint is being traced and is allowed, your browser test results are automatically tied to its corresponding trace.
Use *
to allow wider domain names. For example, adding https://*.datadoghq.com/*
allows everything on https://datadoghq.com/
. When you are done adding URLs, click Save APM Integration Settings.
For more information, see Connect Synthetics and APM Traces.
To allow Datadog to collect RUM data from your test runs, click Enable Synthetic RUM data collection. If disabled, you cannot edit the RUM setting in the browser test recorder. When you are done enabling data collection, click Save RUM Data Collection.
Select a RUM application from the Default Application dropdown menu that collects browser test data. When you are done specifying a default application, click Save RUM Data Applications.
For more information, see Explore RUM & Session Replay.
추가 유용한 문서, 링크 및 기사: