- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
",t};e.buildCustomizationMenuUi=t;function n(e){let t='
",t}function s(e){let n=e.filter.currentValue||e.filter.defaultValue,t='${e.filter.label}
`,e.filter.options.forEach(s=>{let o=s.id===n;t+=``}),t+="${e.filter.label}
`,t+=`Customize your alerts in Synthetic Monitoring to give on-call responders meaningful context. Synthetic Monitoring’s message templating system lets you enrich alerts with test details, extract data from test results, and route notifications conditionally based on the failure.
You can customize notifications using:
Synthetic Monitoring provides pre-filled messages with metadata such as:
These values appear by default in most notification channels. You can override or extend the message using templating.
Examples:
Request:
{{#with synthetics.attributes.result.request}}
We made a {{method}} request to `{{{url}}}`{{#if headers}} with the following headers:
{{#each headers}}
{{@key}}={{this}}
{{/each}}
{{/if}}
{{#if body}}And the body:
{{{body}}}
{{/if}}
{{/with}}
Response:
{{#with synthetics.attributes.result.response}}
We received an HTTP {{httpVersion}} response with a {{statusCode}} status code{{#if headers}} with the following headers:
{{#each headers}}
{{@key}}={{this}}
{{/each}}
{{/if}}
{{#if redirects}}
Redirections:
{{#each redirects}}
* {{statusCode}} redirect to `{{{location}}}`
{{/each}}
{{/if}}
The body's size was {{eval "humanize_bytes(bodySize)"}}{{#if body}} and contained:
{{{body}}}
{{/if}}
{{/with}}
{{! Websocket request and response details }}
{{#with synthetics.attributes.result}}
{{#if handshake }}
The handshake received a response with the {{handshake.response.statusCode}} status code.
{{/if}}
{{#if request}}
A WebSocket request was made with the message:
{{{request.message}}}
{{/if}}
{{#if response}}
and the response closed with status code {{response.close.statusCode}} and reason `{{response.close.reason}}`
{{#if response.message}}, containing the message:
{{{response.message}}}
{{else}}.{{/if}}
{{/if}}
{{/with}}
Iterate over extracted variables for API tests:
Config variables:
{{#each synthetics.attributes.result.variables.config}}
* **Name:** {{name}}
Type: {{type}}
Value: {{#if secure}}*Obfuscated (value hidden)*{{else}}{{value}}{{/if}}
{{/each}}
Extracted Variables (Only visible for recovery notifications):
{{#each synthetics.attributes.result.variables.extracted}}
* **Name:** {{name}}
Global Variable ID: {{id}}
Value: {{#if secure}}*Obfuscated (value hidden)*{{else}}{{val}}{{/if}}
{{/each}}
Iterate over steps extracting variables for multistep API tests:
{{! List extracted variables across all successful steps }}
# Extracted Variables
{{#each synthetics.attributes.result.steps}}
{{#each variables.extracted}}
* **Name**: `{{name}}`
Value: {{#if secure}}*Obfuscated (value hidden)*{{else}}`{{{val}}}`{{/if}}
{{/each}}
{{/each}}
Iterate over steps extracting variables for browser and mobile tests:
{{#each synthetics.attributes.result.steps}}
{{#if extractedValue}}
* **Name**: {{extractedValue.name}}
**Value:** {{#if extractedValue.secure}}*Obfuscated (value hidden)*{{else}}{{extractedValue.value}}{{/if}}
{{/if}}
{{/each}}
Synthetic Monitoring notifications support the ability to display only the custom notification message in alert notifications, hiding all default enriched content such as query details, tags, screenshots, and footers.
By default, all monitors include enriched details in the alert message. This may include:
You can select from the following options to hide or display the information relevant to you:
Preset | Description |
---|---|
show_all | (Default) Includes all enriched data and metadata. |
hide_handles | Hides @notification handles (for example, @slack-channel ). |
hide_all | Hides all additional content except for the custom message and event link. |
Channel | show_all | hide_all |
---|---|---|
Full test detail, screenshot, step info | Only custom message and event link | |
Slack | Rich content + preview of failed run | Custom message only |
See Monitor Notifications for more information.