Skip to content

Conversation

@shahzad31
Copy link
Contributor

@shahzad31 shahzad31 commented Mar 7, 2025

Summary

Just like SLO #210734

Show inspect configuration button always, there is no point hiding it, it adds value while debugging.

Also fixed the id being auto generated even for monitor being edited !!

image

Changed default format to YAML and added a switch to show as JSON

image

Testing

Inspect configuration continue to work as expected.

@shahzad31 shahzad31 requested a review from a team as a code owner March 7, 2025 18:32
@botelastic botelastic bot added the Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. label Mar 7, 2025
@elasticmachine
Copy link
Contributor

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

@shahzad31 shahzad31 added release_note:fix backport:all-open Backport to all branches that could still receive a release labels Mar 7, 2025
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
synthetics 1214 1215 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
synthetics 947.5KB 985.8KB +38.3KB

History

Copy link
Contributor

@cesco-f cesco-f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

The only thing I noticed, not related to changes in your PR, is that when you close the Configuration flyout the Inspect configuration button tooltip is shown.

Not sure if this is the expected behaviour.

@shahzad31 shahzad31 added backport:prev-minor backport:version Backport to applied version labels v9.0.0 v8.19.0 and removed backport:all-open Backport to all branches that could still receive a release backport:prev-major labels Mar 10, 2025
@shahzad31 shahzad31 merged commit 4b05bbc into elastic:main Mar 10, 2025
22 checks passed
@kibanamachine
Copy link
Contributor

@shahzad31 shahzad31 deleted the show-inspect-always branch March 10, 2025 14:54
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 10, 2025
)

## Summary

Just like SLO elastic#210734

Show inspect configuration button always, there is no point hiding it,
it adds value while debugging.

Also fixed the id being auto generated even for monitor being edited !!

<img width="1724" alt="image"
src="https://github.com/user-attachments/assets/31bd7a68-08d5-4a1e-a5c3-d52f58e793fd"
/>

Changed default format to YAML and added a switch to show as JSON

<img width="1728" alt="image"
src="https://github.com/user-attachments/assets/7b4ef88e-5f9e-4ec2-a9da-9606c743f3af"
/>

### Testing

Inspect configuration continue to work as expected.

(cherry picked from commit 4b05bbc)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 10, 2025
)

## Summary

Just like SLO elastic#210734

Show inspect configuration button always, there is no point hiding it,
it adds value while debugging.

Also fixed the id being auto generated even for monitor being edited !!

<img width="1724" alt="image"
src="https://github.com/user-attachments/assets/31bd7a68-08d5-4a1e-a5c3-d52f58e793fd"
/>

Changed default format to YAML and added a switch to show as JSON

<img width="1728" alt="image"
src="https://github.com/user-attachments/assets/7b4ef88e-5f9e-4ec2-a9da-9606c743f3af"
/>

### Testing

Inspect configuration continue to work as expected.

(cherry picked from commit 4b05bbc)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x
9.0

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Mar 10, 2025
…) (#213759)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[Synthetics] Show inspect configuration button always !!
(#213619)](#213619)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-03-10T14:53:28Z","message":"[Synthetics]
Show inspect configuration button always !! (#213619)\n\n##
Summary\n\nJust like SLO
https://github.com/elastic/kibana/pull/210734\n\nShow inspect
configuration button always, there is no point hiding it,\nit adds value
while debugging.\n\nAlso fixed the id being auto generated even for
monitor being edited !!\n\n<img width=\"1724\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/31bd7a68-08d5-4a1e-a5c3-d52f58e793fd\"\n/>\n\n\nChanged
default format to YAML and added a switch to show as JSON \n\n<img
width=\"1728\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/7b4ef88e-5f9e-4ec2-a9da-9606c743f3af\"\n/>\n\n\n###
Testing \n\nInspect configuration continue to work as
expected.","sha":"4b05bbc955481487eec5babdd772f4f1a5c064db","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:obs-ux-management","backport:version","v9.1.0","v8.19.0"],"title":"[Synthetics]
Show inspect configuration button always
!!","number":213619,"url":"https://github.com/elastic/kibana/pull/213619","mergeCommit":{"message":"[Synthetics]
Show inspect configuration button always !! (#213619)\n\n##
Summary\n\nJust like SLO
https://github.com/elastic/kibana/pull/210734\n\nShow inspect
configuration button always, there is no point hiding it,\nit adds value
while debugging.\n\nAlso fixed the id being auto generated even for
monitor being edited !!\n\n<img width=\"1724\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/31bd7a68-08d5-4a1e-a5c3-d52f58e793fd\"\n/>\n\n\nChanged
default format to YAML and added a switch to show as JSON \n\n<img
width=\"1728\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/7b4ef88e-5f9e-4ec2-a9da-9606c743f3af\"\n/>\n\n\n###
Testing \n\nInspect configuration continue to work as
expected.","sha":"4b05bbc955481487eec5babdd772f4f1a5c064db"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213619","number":213619,"mergeCommit":{"message":"[Synthetics]
Show inspect configuration button always !! (#213619)\n\n##
Summary\n\nJust like SLO
https://github.com/elastic/kibana/pull/210734\n\nShow inspect
configuration button always, there is no point hiding it,\nit adds value
while debugging.\n\nAlso fixed the id being auto generated even for
monitor being edited !!\n\n<img width=\"1724\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/31bd7a68-08d5-4a1e-a5c3-d52f58e793fd\"\n/>\n\n\nChanged
default format to YAML and added a switch to show as JSON \n\n<img
width=\"1728\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/7b4ef88e-5f9e-4ec2-a9da-9606c743f3af\"\n/>\n\n\n###
Testing \n\nInspect configuration continue to work as
expected.","sha":"4b05bbc955481487eec5babdd772f4f1a5c064db"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Shahzad <[email protected]>
kibanamachine added a commit that referenced this pull request Mar 10, 2025
…) (#213758)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Synthetics] Show inspect configuration button always !!
(#213619)](#213619)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-03-10T14:53:28Z","message":"[Synthetics]
Show inspect configuration button always !! (#213619)\n\n##
Summary\n\nJust like SLO
https://github.com/elastic/kibana/pull/210734\n\nShow inspect
configuration button always, there is no point hiding it,\nit adds value
while debugging.\n\nAlso fixed the id being auto generated even for
monitor being edited !!\n\n<img width=\"1724\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/31bd7a68-08d5-4a1e-a5c3-d52f58e793fd\"\n/>\n\n\nChanged
default format to YAML and added a switch to show as JSON \n\n<img
width=\"1728\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/7b4ef88e-5f9e-4ec2-a9da-9606c743f3af\"\n/>\n\n\n###
Testing \n\nInspect configuration continue to work as
expected.","sha":"4b05bbc955481487eec5babdd772f4f1a5c064db","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:obs-ux-management","backport:version","v9.1.0","v8.19.0"],"title":"[Synthetics]
Show inspect configuration button always
!!","number":213619,"url":"https://github.com/elastic/kibana/pull/213619","mergeCommit":{"message":"[Synthetics]
Show inspect configuration button always !! (#213619)\n\n##
Summary\n\nJust like SLO
https://github.com/elastic/kibana/pull/210734\n\nShow inspect
configuration button always, there is no point hiding it,\nit adds value
while debugging.\n\nAlso fixed the id being auto generated even for
monitor being edited !!\n\n<img width=\"1724\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/31bd7a68-08d5-4a1e-a5c3-d52f58e793fd\"\n/>\n\n\nChanged
default format to YAML and added a switch to show as JSON \n\n<img
width=\"1728\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/7b4ef88e-5f9e-4ec2-a9da-9606c743f3af\"\n/>\n\n\n###
Testing \n\nInspect configuration continue to work as
expected.","sha":"4b05bbc955481487eec5babdd772f4f1a5c064db"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213619","number":213619,"mergeCommit":{"message":"[Synthetics]
Show inspect configuration button always !! (#213619)\n\n##
Summary\n\nJust like SLO
https://github.com/elastic/kibana/pull/210734\n\nShow inspect
configuration button always, there is no point hiding it,\nit adds value
while debugging.\n\nAlso fixed the id being auto generated even for
monitor being edited !!\n\n<img width=\"1724\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/31bd7a68-08d5-4a1e-a5c3-d52f58e793fd\"\n/>\n\n\nChanged
default format to YAML and added a switch to show as JSON \n\n<img
width=\"1728\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/7b4ef88e-5f9e-4ec2-a9da-9606c743f3af\"\n/>\n\n\n###
Testing \n\nInspect configuration continue to work as
expected.","sha":"4b05bbc955481487eec5babdd772f4f1a5c064db"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: Shahzad <[email protected]>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Mar 22, 2025
)

## Summary

Just like SLO elastic#210734

Show inspect configuration button always, there is no point hiding it,
it adds value while debugging.

Also fixed the id being auto generated even for monitor being edited !!

<img width="1724" alt="image"
src="https://github.com/user-attachments/assets/31bd7a68-08d5-4a1e-a5c3-d52f58e793fd"
/>


Changed default format to YAML and added a switch to show as JSON 

<img width="1728" alt="image"
src="https://github.com/user-attachments/assets/7b4ef88e-5f9e-4ec2-a9da-9606c743f3af"
/>


### Testing 

Inspect configuration continue to work as expected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:fix Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. v8.19.0 v9.0.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants