Skip to content

Commit 680b1d0

Browse files
add menus
1 parent c6dfa98 commit 680b1d0

File tree

5 files changed

+21
-20
lines changed

5 files changed

+21
-20
lines changed

config/_default/menus/main.en.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7793,6 +7793,16 @@ menu:
77937793
parent: synthetics_notifications
77947794
identifier: synthetics_notifications_template_variables
77957795
weight: 1001
7796+
- name: Browser and Mobile
7797+
url: synthetics/notifications/template_variables/browser_mobile
7798+
parent: synthetics_notifications_template_variables
7799+
identifier: synthetics_notifications_template_variables_browser_mobile
7800+
weight: 10001
7801+
- name: API
7802+
url: synthetics/notifications/template_variables/api
7803+
parent: synthetics_notifications_template_variables
7804+
identifier: synthetics_notifications_template_variables_api
7805+
weight: 10002
77967806
- name: Conditional Alerting
77977807
url: synthetics/notifications/conditional_alerting
77987808
parent: synthetics_notifications

content/en/synthetics/notifications/template_variables/_index.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,17 @@ further_reading:
1313

1414
## Overview
1515

16-
Template variables allow you to insert dynamic values from your test results and configuration into Synthetic Monitoring notification messages. These variables are accessed using the `synthetics.attributes` prefix.
16+
Template variables allow you to insert dynamic values from your test results and configuration into Synthetic Monitoring notification messages.
17+
18+
These variables are accessed using the `synthetics.attributes` prefix.
1719

1820
## Variable reference
1921

2022
{{< whatsnext desc="Select your test type to see available template variables:">}}
21-
{{< nextlink href="/synthetics/notifications/template_variables/browser_mobile" >}}Browser and Mobile Test Variables{{< /nextlink >}}
22-
{{< nextlink href="/synthetics/notifications/template_variables/api" >}}API Test Variables{{< /nextlink >}}
23+
{{< nextlink href="/synthetics/notifications/template_variables/browser_mobile" >}}Browser and Mobile Test Variables{{< /nextlink >}}
24+
{{< nextlink href="/synthetics/notifications/template_variables/api" >}}API Test Variables{{< /nextlink >}}
2325
{{< /whatsnext >}}
2426

25-
**Note:** Variable availability depends on the test type. To verify available data, export a test result as JSON from the **Actions** tab in the [Results Explorer][1]. Use this output to confirm the exact paths for your monitor configuration.
26-
27-
{{< img src="synthetics/notifications/action_tab.png" alt="Actions tab from the Synthetics Result Explorer with Export Result JSON highlighted" style="width:90%;" >}}
28-
2927
## Further Reading
3028

3129
{{< partial name="whats-next/whats-next.html" >}}
32-
33-
[1]: /synthetics/explore/results_explorer
34-

content/en/synthetics/notifications/template_variables/api.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,5 +525,4 @@ Use the filters below to find template variables for API tests. Filter by **Subt
525525

526526
{{< partial name="whats-next/whats-next.html" >}}
527527

528-
[1]: /synthetics/notifications/template_variables/#step-reference-methods
529-
528+
[1]: /synthetics/notifications/template_variables/browser_mobile/#step-reference-methods

content/en/synthetics/notifications/template_variables/browser_mobile.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -460,15 +460,12 @@ synthetics.attributes.result.steps.abc-def-ghi.status
460460

461461
Combine any reference method with a property:
462462

463-
```shell
464-
- {{synthetics.attributes.result.steps.-1.status}} - Status of the last step
465-
- {{synthetics.attributes.result.steps[Click button].status}} - Status of step named "Click button"
466-
- {{synthetics.attributes.result.steps.abc-def-ghi.status}} - Status of step with ID "abc-def-ghi"
463+
```text
464+
- synthetics.attributes.result.steps.-1.status - Status of the last step
465+
- synthetics.attributes.result.steps[Click button].status - Status of step named "Click button"
466+
- synthetics.attributes.result.steps.abc-def-ghi.status - Status of step with ID "abc-def-ghi"
467467
```
468468

469469
## Further Reading
470470

471471
{{< partial name="whats-next/whats-next.html" >}}
472-
473-
[1]: /synthetics/notifications/template_variables/#step-reference-methods
474-

layouts/partials/nav/left-nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<ul class="list-unstyled sub-menu {{ if not (in (slice "automatic_instrumentation" "custom_instrumentation" "dyninst" "single_step_apm" "auto_dd_libraries" "observability_pipelines_reference_processing_language" "observability_pipelines_vector_configuration" "cloud_cost_container_cost_allocation" "cloud_cost_saas_cost_integrations" "csm_setup_enterprise" "csm_setup_pro" "csm_setup_cloud_workload_security" "cspm_frameworks_benchmarks" "cspm_findings_explorer" "cws_workload_security_rules" "otel_integrations" "otel_collector_configuration" "rum_dashboards"
7070
"rum_browser_setup" "rum_browser" "rum_session_replay_browser" "rum_session_replay_mobile" "rum_mobile_android" "rum_mobile_ios" "rum_mobile_flutter" "rum_mobile_kotlin" "rum_mobile_react_native" "rum_mobile_roku" "rum_mobile_unity" "pa_session_replay_mobile" "pa_session_replay_browser" "cloudcraft_api_aws_accounts" "cloudcraft_api_azure_accounts" "cloudcraft_api_blueprints" "cloudcraft_api_budgets" "cloudcraft_api_users" "appsec_enabling_single_step" "appsec_enabling_tracing_libraries" "synthetics_platform_dashboards" "synthetics_private_location" "synthetics_results_explorer" "ndm_netflow" "dashboards_ddsql_editor_reference" "application_security_software_composition_analysis_setup"
7171
"application_security_code_security_setup" "tracing_proxies" "appsec_threats_management_setup" "observability_pipelines_log_volume_control" "observability_pipelines_dual_ship_logs" "observability_pipelines_archive_logs" "observability_pipelines_split_logs" "observability_pipelines_sensitive_data_redaction" "observability_pipelines_log_enrichment" "observability_pipelines_install_the_worker" "csm_setup_agentless_scanning" "observability_pipelines_generate_metrics" "log_explorer_calculated_fields" "test_impact_analysis_setup" "dbm_setup_postgres_rds" "sca_setup_runtime" "ndm_setup" "otel-setup-collector-exporter" "otel-setup-intake-endpoint" "otel_guides_migration" "otel-api-dd-sdk" "otel-setup-agent" "ide_plugins_idea" "agent_configuration_proxy"
72-
"software_catalog_set_up" "software_catalog_entity_model" "asm_serverless" "otel-setup-ddot" "otel-setup-other" "cloud_siem_custom_detection_rules" "llm_obs_managed_evaluations" "llm_obs_external_evaluations" "cnm_analytics" "cloud_siem_open_cybersecurity_schema_framework") .Identifier) }}d-none{{ end }}">
72+
"software_catalog_set_up" "software_catalog_entity_model" "asm_serverless" "otel-setup-ddot" "otel-setup-other" "cloud_siem_custom_detection_rules" "llm_obs_managed_evaluations" "llm_obs_external_evaluations" "cnm_analytics" "cloud_siem_open_cybersecurity_schema_framework" "synthetics_notifications_template_variables") .Identifier) }}d-none{{ end }}">
7373

7474
{{/* LEVEL 4 */}}
7575
{{ range .Children }}

0 commit comments

Comments
 (0)