Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.15] [Synthetics] Update parsing to skip replacing missing values (#192662) #192752

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.15:

Questions ?

Please refer to the Backport tool documentation

…#192662)

## Summary

Based on user reported issue in
https://discuss.elastic.co/t/elastic-lightweight-monitor-host-name-no-longer-using-current-host-name/366421

Update parsing to skip replacing missing values !!

### Before

https://${host.name} would be replaced with "https://",

### After
Var value remain as is so that it would look for env variable
"https://${host.name}",

### Testing

can be tested in the ui , go to add monitor ui , user params in url
field and use inspect configuration to see parsed value, enabled inspect
button from kibana advanced settings observability inspect ES queries !!

<img width="852" alt="image"
src="https://github.com/user-attachments/assets/66bf460a-7d63-4fb3-993d-1caaa6812583">

<img width="1106" alt="image"
src="https://github.com/user-attachments/assets/6f5e97c6-182a-4cd1-a345-976c321d449a">

---------

Co-authored-by: Justin Kambic <[email protected]>
(cherry picked from commit e94024b)
@kibanamachine kibanamachine enabled auto-merge (squash) September 12, 2024 17:24
@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team labels Sep 12, 2024
@elasticmachine
Copy link
Contributor

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

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

ESLint disabled line counts

id before after diff
synthetics 84 76 -8

Total ESLint disabled count

id before after diff
synthetics 91 83 -8

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @shahzad31

@kibanamachine kibanamachine merged commit b376afc into elastic:8.15 Sep 12, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport ci:project-deploy-observability Create an Observability project Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants