diff --git a/packages/synthetics/changelog.yml b/packages/synthetics/changelog.yml index b327bc1398a..cb6727e5f54 100644 --- a/packages/synthetics/changelog.yml +++ b/packages/synthetics/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "0.11.4" + changes: + - description: Add run_from.geo.name field to monitor config to preserve location name + type: bugfix + link: https://github.com/elastic/integrations/pull/4741 - version: "0.11.3" changes: - description: Add run_from field to monitor config @@ -8,7 +13,7 @@ changes: - description: Change incorrectly typed `states.ends.duration` field from `date` to long type: bugfix - link: https://github.com/elastic/integrations/pull/4477 + link: https://github.com/elastic/integrations/pull/4541 - version: "0.11.1" changes: - description: Change incorrectly typed `states.duration` field from `date` to long diff --git a/packages/synthetics/data_stream/browser/agent/stream/browser.yml.hbs b/packages/synthetics/data_stream/browser/agent/stream/browser.yml.hbs index f56e302199f..8535b62e8c8 100644 --- a/packages/synthetics/data_stream/browser/agent/stream/browser.yml.hbs +++ b/packages/synthetics/data_stream/browser/agent/stream/browser.yml.hbs @@ -10,6 +10,9 @@ origin: {{origin}} {{#if location_name}} run_from.id: {{location_name}} {{/if}} +{{#if location_name}} +run_from.geo.name: {{location_name}} +{{/if}} enabled: {{enabled}} {{#if service.name}} service.name: {{service.name}} @@ -81,9 +84,6 @@ source.zip_url.ssl.supported_protocols: {{source.zip_url.ssl.supported_protocols source.zip_url.proxy_url: {{source.zip_url.proxy_url}} {{/if}} processors: - - add_observer_metadata: - geo: - name: {{location_name}} - add_fields: target: '' fields: diff --git a/packages/synthetics/data_stream/http/agent/stream/http.yml.hbs b/packages/synthetics/data_stream/http/agent/stream/http.yml.hbs index 534096fde51..338a6ceb1ac 100644 --- a/packages/synthetics/data_stream/http/agent/stream/http.yml.hbs +++ b/packages/synthetics/data_stream/http/agent/stream/http.yml.hbs @@ -10,6 +10,9 @@ origin: {{origin}} {{#if location_name}} run_from.id: {{location_name}} {{/if}} +{{#if location_name}} +run_from.geo.name: {{location_name}} +{{/if}} enabled: {{enabled}} urls: {{urls}} {{#if service.name}} @@ -70,9 +73,6 @@ ssl.verification_mode: {{ssl.verification_mode}} ssl.supported_protocols: {{ssl.supported_protocols}} {{/if}} processors: - - add_observer_metadata: - geo: - name: {{location_name}} - add_fields: target: '' fields: diff --git a/packages/synthetics/data_stream/icmp/agent/stream/icmp.yml.hbs b/packages/synthetics/data_stream/icmp/agent/stream/icmp.yml.hbs index 397b96ca60c..49fad0d9c23 100644 --- a/packages/synthetics/data_stream/icmp/agent/stream/icmp.yml.hbs +++ b/packages/synthetics/data_stream/icmp/agent/stream/icmp.yml.hbs @@ -10,6 +10,9 @@ origin: {{origin}} {{#if location_name}} run_from.id: {{location_name}} {{/if}} +{{#if location_name}} +run_from.geo.name: {{location_name}} +{{/if}} enabled: {{enabled}} hosts: {{hosts}} {{#if service.name}} @@ -22,9 +25,6 @@ timeout: {{timeout}} tags: {{tags}} {{/if}} processors: - - add_observer_metadata: - geo: - name: {{location_name}} - add_fields: target: '' fields: diff --git a/packages/synthetics/data_stream/tcp/agent/stream/tcp.yml.hbs b/packages/synthetics/data_stream/tcp/agent/stream/tcp.yml.hbs index 56c7c002efa..0474c909476 100644 --- a/packages/synthetics/data_stream/tcp/agent/stream/tcp.yml.hbs +++ b/packages/synthetics/data_stream/tcp/agent/stream/tcp.yml.hbs @@ -10,6 +10,9 @@ origin: {{origin}} {{#if location_name}} run_from.id: {{location_name}} {{/if}} +{{#if location_name}} +run_from.geo.name: {{location_name}} +{{/if}} enabled: {{enabled}} hosts: {{hosts}} {{#if service.name}} @@ -49,9 +52,6 @@ ssl.verification_mode: {{ssl.verification_mode}} ssl.supported_protocols: {{ssl.supported_protocols}} {{/if}} processors: - - add_observer_metadata: - geo: - name: {{location_name}} - add_fields: target: '' fields: diff --git a/packages/synthetics/manifest.yml b/packages/synthetics/manifest.yml index 736ae5a21be..a3b64af6240 100644 --- a/packages/synthetics/manifest.yml +++ b/packages/synthetics/manifest.yml @@ -2,7 +2,7 @@ format_version: 1.0.0 name: synthetics title: Elastic Synthetics description: Monitor the availability of your services with Elastic Synthetics. -version: 0.11.3 +version: 0.11.4 categories: ["elastic_stack", "monitoring", "web"] release: beta type: integration