elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.71k stars 8.13k forks source link

[Synthetics] Lightweight project monitors are unable to use Synthetics Global Parameter as variable in the monitor URL field #191228

Open lasobrinho opened 3 weeks ago

lasobrinho commented 3 weeks ago

Kibana version: 8.15

Elasticsearch version: 8.15

Server OS version: N/A

Browser version: Google Chrome Version 128.0.6613.84 (Official Build) (64-bit)

Browser OS version: Windows 11

Original install method (e.g. download page, yum, from source, etc.): N/A

Describe the bug: Unable to use Synthetics Global Parameter as variables in the monitor URL field when configuring lightweight project monitors. It was working before PR https://github.com/elastic/kibana/pull/186112 was merged.

Steps to reproduce:

  1. Add a new Synthetics Global Parameter via Kibana UI:

image

  1. Configure a new lightweight project monitor and use it as a variable in the monitor urls field:

image

  1. Push the changes to Kibana (e.g. npm run push), the following error should appear:

image

Expected behavior: Monitors should be successfully pushed to Kibana using Global Parameters as variables, as it was working before PR https://github.com/elastic/kibana/pull/186112 was merged.

Screenshots (if relevant): See above in steps to reproduce section.

Errors in browser console (if relevant): N/A

Provide logs and/or server output (if relevant): See above in steps to reproduce section.

Any additional context: Possible breaking PR: https://github.com/elastic/kibana/pull/186112 by @justinkambic, please look

elasticmachine commented 2 weeks ago

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)