Skip to content

[Discover] Show ES|QL request URL in Inpector flyout#221816

Merged
jughosta merged 1 commit intoelastic:mainfrom
jughosta:221581-fix-inspector-url
May 29, 2025
Merged

[Discover] Show ES|QL request URL in Inpector flyout#221816
jughosta merged 1 commit intoelastic:mainfrom
jughosta:221581-fix-inspector-url

Conversation

@jughosta
Copy link
Contributor

@jughosta jughosta commented May 28, 2025

Summary

This PR adds the missing requestParams to the search interceptor code. This makes the request URL appear again in Inpector flyout (Request tab).

Screenshot 2025-05-28 at 17 55 09

Checklist

  • Unit or functional tests were updated or added to match the most common scenarios
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines
@jughosta jughosta self-assigned this May 28, 2025
@jughosta jughosta added v9.0.0 Team:DataDiscovery Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t// Feature:ES|QL ES|QL related features in Kibana backport:version Backport to applied version labels v9.1.0 v8.19.0 labels May 28, 2025
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
data 402.3KB 402.3KB +16.0B

cc @jughosta

@jughosta jughosta marked this pull request as ready for review May 28, 2025 17:51
@jughosta jughosta requested review from a team as code owners May 28, 2025 17:51
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@jughosta jughosta merged commit 7fae9c5 into elastic:main May 29, 2025
26 checks passed
@jughosta jughosta deleted the 221581-fix-inspector-url branch May 29, 2025 08:30
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.0

https://github.com/elastic/kibana/actions/runs/15319734556

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request May 29, 2025
- Closes elastic#221581

## Summary

This PR adds the missing `requestParams` to the search interceptor code.
This makes the request URL appear again in Inpector flyout (Request
tab).

<img width="1072" alt="Screenshot 2025-05-28 at 17 55 09"
src="https://github.com/user-attachments/assets/1c11c7d7-1e49-4265-a014-88f369dad2a7"
/>

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

(cherry picked from commit 7fae9c5)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
8.19 Backport failed because of merge conflicts
9.0

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

Manual backport

To create the backport manually run:

node scripts/backport --pr 221816

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request May 29, 2025
…221893)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[Discover] Show ES|QL request URL in Inpector flyout
(#221816)](#221816)

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

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

<!--BACKPORT [{"author":{"name":"Julia
Rechkunova","email":"julia.rechkunova@elastic.co"},"sourceCommit":{"committedDate":"2025-05-29T08:30:13Z","message":"[Discover]
Show ES|QL request URL in Inpector flyout (#221816)\n\n- Closes
https://github.com/elastic/kibana/issues/221581\n\n## Summary\n\nThis PR
adds the missing `requestParams` to the search interceptor code.\nThis
makes the request URL appear again in Inpector flyout
(Request\ntab).\n\n<img width=\"1072\" alt=\"Screenshot 2025-05-28 at 17
55
09\"\nsrc=\"https://github.com/user-attachments/assets/1c11c7d7-1e49-4265-a014-88f369dad2a7\"\n/>\n\n\n\n###
Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"7fae9c5d6e86a588f6657dabe6894519449a03ad","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:DataDiscovery","Feature:ES|QL","backport:version","v9.1.0","v8.19.0"],"title":"[Discover]
Show ES|QL request URL in Inpector
flyout","number":221816,"url":"https://github.com/elastic/kibana/pull/221816","mergeCommit":{"message":"[Discover]
Show ES|QL request URL in Inpector flyout (#221816)\n\n- Closes
https://github.com/elastic/kibana/issues/221581\n\n## Summary\n\nThis PR
adds the missing `requestParams` to the search interceptor code.\nThis
makes the request URL appear again in Inpector flyout
(Request\ntab).\n\n<img width=\"1072\" alt=\"Screenshot 2025-05-28 at 17
55
09\"\nsrc=\"https://github.com/user-attachments/assets/1c11c7d7-1e49-4265-a014-88f369dad2a7\"\n/>\n\n\n\n###
Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"7fae9c5d6e86a588f6657dabe6894519449a03ad"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.19"],"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/221816","number":221816,"mergeCommit":{"message":"[Discover]
Show ES|QL request URL in Inpector flyout (#221816)\n\n- Closes
https://github.com/elastic/kibana/issues/221581\n\n## Summary\n\nThis PR
adds the missing `requestParams` to the search interceptor code.\nThis
makes the request URL appear again in Inpector flyout
(Request\ntab).\n\n<img width=\"1072\" alt=\"Screenshot 2025-05-28 at 17
55
09\"\nsrc=\"https://github.com/user-attachments/assets/1c11c7d7-1e49-4265-a014-88f369dad2a7\"\n/>\n\n\n\n###
Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"7fae9c5d6e86a588f6657dabe6894519449a03ad"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Julia Rechkunova <julia.rechkunova@elastic.co>
akowalska622 pushed a commit to akowalska622/kibana that referenced this pull request May 29, 2025
- Closes elastic#221581

## Summary

This PR adds the missing `requestParams` to the search interceptor code.
This makes the request URL appear again in Inpector flyout (Request
tab).

<img width="1072" alt="Screenshot 2025-05-28 at 17 55 09"
src="https://github.com/user-attachments/assets/1c11c7d7-1e49-4265-a014-88f369dad2a7"
/>



### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
@jughosta
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
��� 8.19

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

Questions ?

Please refer to the Backport tool documentation

jughosta added a commit to jughosta/kibana that referenced this pull request May 30, 2025
- Closes elastic#221581

## Summary

This PR adds the missing `requestParams` to the search interceptor code.
This makes the request URL appear again in Inpector flyout (Request
tab).

<img width="1072" alt="Screenshot 2025-05-28 at 17 55 09"
src="https://github.com/user-attachments/assets/1c11c7d7-1e49-4265-a014-88f369dad2a7"
/>

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

(cherry picked from commit 7fae9c5)

# Conflicts:
#	src/platform/plugins/shared/data/public/search/search_interceptor/search_interceptor.ts
jughosta added a commit that referenced this pull request May 30, 2025
…#222004)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[Discover] Show ES|QL request URL in Inpector flyout
(#221816)](#221816)

<!--- Backport version: 10.0.0 -->

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

<!--BACKPORT [{"author":{"name":"Julia
Rechkunova","email":"julia.rechkunova@elastic.co"},"sourceCommit":{"committedDate":"2025-05-29T08:30:13Z","message":"[Discover]
Show ES|QL request URL in Inpector flyout (#221816)\n\n- Closes
https://github.com/elastic/kibana/issues/221581\n\n## Summary\n\nThis PR
adds the missing `requestParams` to the search interceptor code.\nThis
makes the request URL appear again in Inpector flyout
(Request\ntab).\n\n<img width=\"1072\" alt=\"Screenshot 2025-05-28 at 17
55
09\"\nsrc=\"https://github.com/user-attachments/assets/1c11c7d7-1e49-4265-a014-88f369dad2a7\"\n/>\n\n\n\n###
Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"7fae9c5d6e86a588f6657dabe6894519449a03ad","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:DataDiscovery","Feature:ES|QL","backport:version","v9.1.0","v8.19.0","v9.0.2"],"title":"[Discover]
Show ES|QL request URL in Inpector
flyout","number":221816,"url":"https://github.com/elastic/kibana/pull/221816","mergeCommit":{"message":"[Discover]
Show ES|QL request URL in Inpector flyout (#221816)\n\n- Closes
https://github.com/elastic/kibana/issues/221581\n\n## Summary\n\nThis PR
adds the missing `requestParams` to the search interceptor code.\nThis
makes the request URL appear again in Inpector flyout
(Request\ntab).\n\n<img width=\"1072\" alt=\"Screenshot 2025-05-28 at 17
55
09\"\nsrc=\"https://github.com/user-attachments/assets/1c11c7d7-1e49-4265-a014-88f369dad2a7\"\n/>\n\n\n\n###
Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"7fae9c5d6e86a588f6657dabe6894519449a03ad"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/221893","number":221893,"state":"MERGED","mergeCommit":{"sha":"ea2ff4db67d05650312ce4974285c3d6cb7593c7","message":"[9.0]
[Discover] Show ES|QL request URL in Inpector flyout (#221816)
(#221893)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.0`:\n- [[Discover] Show ES|QL request URL in Inpector
flyout\n(#221816)](https://github.com/elastic/kibana/pull/221816)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Julia Rechkunova
<julia.rechkunova@elastic.co>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/221816","number":221816,"mergeCommit":{"message":"[Discover]
Show ES|QL request URL in Inpector flyout (#221816)\n\n- Closes
https://github.com/elastic/kibana/issues/221581\n\n## Summary\n\nThis PR
adds the missing `requestParams` to the search interceptor code.\nThis
makes the request URL appear again in Inpector flyout
(Request\ntab).\n\n<img width=\"1072\" alt=\"Screenshot 2025-05-28 at 17
55
09\"\nsrc=\"https://github.com/user-attachments/assets/1c11c7d7-1e49-4265-a014-88f369dad2a7\"\n/>\n\n\n\n###
Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"7fae9c5d6e86a588f6657dabe6894519449a03ad"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
@mistic
Copy link
Contributor

mistic commented Jun 3, 2025

This PR didn't make it into the latest 9.0.2 BC. Updating the labels.

zacharyparikh pushed a commit to zacharyparikh/kibana that referenced this pull request Jun 4, 2025
- Closes elastic#221581

## Summary

This PR adds the missing `requestParams` to the search interceptor code.
This makes the request URL appear again in Inpector flyout (Request
tab).

<img width="1072" alt="Screenshot 2025-05-28 at 17 55 09"
src="https://github.com/user-attachments/assets/1c11c7d7-1e49-4265-a014-88f369dad2a7"
/>



### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
nickpeihl pushed a commit to nickpeihl/kibana that referenced this pull request Jun 12, 2025
- Closes elastic#221581

## Summary

This PR adds the missing `requestParams` to the search interceptor code.
This makes the request URL appear again in Inpector flyout (Request
tab).

<img width="1072" alt="Screenshot 2025-05-28 at 17 55 09"
src="https://github.com/user-attachments/assets/1c11c7d7-1e49-4265-a014-88f369dad2a7"
/>



### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
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 Feature:ES|QL ES|QL related features in Kibana release_note:fix Team:DataDiscovery Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t// v8.19.0 v9.0.3 v9.1.0

6 participants