From 9574229145044f8719ede25adad43f7f033f6042 Mon Sep 17 00:00:00 2001 From: emilioalvap Date: Wed, 5 Nov 2025 18:07:41 +0100 Subject: [PATCH 1/2] [Synthetics] Add namespace option docs --- .../synthetics/configure-lightweight-monitors.md | 13 +++++++++++++ .../observability/synthetics/configure-projects.md | 9 +++++++++ 2 files changed, 22 insertions(+) diff --git a/solutions/observability/synthetics/configure-lightweight-monitors.md b/solutions/observability/synthetics/configure-lightweight-monitors.md index 0631e64d6c..487ca4ebcb 100644 --- a/solutions/observability/synthetics/configure-lightweight-monitors.md +++ b/solutions/observability/synthetics/configure-lightweight-monitors.md @@ -364,6 +364,19 @@ $$$monitor-fields$$$ fields.team: synthetics ``` +$$$monitor-namespace$$$ + +**`namespace`** +: Type: [string](/solutions/observability/synthetics/configure-lightweight-monitors.md#synthetics-lightweight-data-string) + + Assign the monitor to a specific datastream namespace. Overrides the default value, Kibana's namespace. + + **Examples**: + + ```yaml + namespace: custom-namespace + ``` + ### HTTP options [synthetics-lightweight-http] The options described here configure Synthetics to connect via HTTP and optionally verify that the host returns the expected response. diff --git a/solutions/observability/synthetics/configure-projects.md b/solutions/observability/synthetics/configure-projects.md index 9c24e9e34a..2dfe031a21 100644 --- a/solutions/observability/synthetics/configure-projects.md +++ b/solutions/observability/synthetics/configure-projects.md @@ -281,6 +281,15 @@ $$$synthetics-configuration-monitor-tags$$$ `tags` (`Array`) } ``` +`namespace` (`string`) +: Assign the monitor to a specific datastream namespace. Overrides the default value, Kibana's namespace. + + For example: + + ```js + namespace: 'custom-namespace' + ``` + For information on configuring monitors individually, refer to: * [Configure individual browser monitors](/solutions/observability/synthetics/configure-individual-browser-monitors.md) for browser monitors From b9515a9543a1822f2fc1b43190da841d8564e3ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Alvarez=20Pi=C3=B1eiro?= <95703246+emilioalvap@users.noreply.github.com> Date: Thu, 6 Nov 2025 12:58:11 +0100 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: florent-leborgne --- .../observability/synthetics/configure-lightweight-monitors.md | 2 +- solutions/observability/synthetics/configure-projects.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/solutions/observability/synthetics/configure-lightweight-monitors.md b/solutions/observability/synthetics/configure-lightweight-monitors.md index 487ca4ebcb..e7d5f6221a 100644 --- a/solutions/observability/synthetics/configure-lightweight-monitors.md +++ b/solutions/observability/synthetics/configure-lightweight-monitors.md @@ -369,7 +369,7 @@ $$$monitor-namespace$$$ **`namespace`** : Type: [string](/solutions/observability/synthetics/configure-lightweight-monitors.md#synthetics-lightweight-data-string) - Assign the monitor to a specific datastream namespace. Overrides the default value, Kibana's namespace. + Assign the monitor to a specific datastream namespace. Defaults to Kibana's namespace. **Examples**: diff --git a/solutions/observability/synthetics/configure-projects.md b/solutions/observability/synthetics/configure-projects.md index 2dfe031a21..62be638870 100644 --- a/solutions/observability/synthetics/configure-projects.md +++ b/solutions/observability/synthetics/configure-projects.md @@ -282,7 +282,7 @@ $$$synthetics-configuration-monitor-tags$$$ `tags` (`Array`) ``` `namespace` (`string`) -: Assign the monitor to a specific datastream namespace. Overrides the default value, Kibana's namespace. +: Assign the monitor to a specific datastream namespace. Defaults to Kibana's namespace. For example: