Skip to content

[ES|QL] Only log requests to Inspector on request complete#191232

Merged
lukasolson merged 9 commits intoelastic:mainfrom
lukasolson:fix_esql_inspector
Aug 29, 2024
Merged

[ES|QL] Only log requests to Inspector on request complete#191232
lukasolson merged 9 commits intoelastic:mainfrom
lukasolson:fix_esql_inspector

Conversation

@lukasolson
Copy link
Copy Markdown
Contributor

@lukasolson lukasolson commented Aug 23, 2024

Summary

Requires #191520.
Resolves #188266.

Prior to this PR, when polling on an async ES|QL request, we would log the response to every polling request. This PR only logs when the request is complete.

Before:

image

After:

image

Checklist

@lukasolson
Copy link
Copy Markdown
Contributor Author

/ci

@kibanamachine
Copy link
Copy Markdown
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#6823

[✅] test/functional/apps/discover/esql/config.ts: 25/25 tests passed.

see run history

@lukasolson lukasolson marked this pull request as ready for review August 28, 2024 17:16
@lukasolson lukasolson requested review from a team as code owners August 28, 2024 17:16
@lukasolson lukasolson self-assigned this Aug 28, 2024
@lukasolson lukasolson added release_note:fix Team:DataDiscovery Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t// Team:ESQL ES|QL related features in Kibana t// v8.16.0 labels Aug 28, 2024
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-esql (Team:ESQL)

@elasticmachine
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor

@nreese nreese left a comment

Choose a reason for hiding this comment

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

kibana-presentation changes LGTM
code review only

@kibana-ci
Copy link
Copy Markdown

💚 Build Succeeded

Metrics [docs]

Async chunks

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

id before after diff
inspector 28.2KB 28.3KB +45.0B

Page load bundle

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

id before after diff
data 418.8KB 418.9KB +35.0B

History

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

cc @lukasolson

Copy link
Copy Markdown
Contributor

@davismcphee davismcphee left a comment

Choose a reason for hiding this comment

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

Code changes look good, and it works well 👍 Thanks for fixing this!

@stratoula
Copy link
Copy Markdown
Contributor

Awesome Lukas 🙇

@lukasolson lukasolson merged commit c71c0df into elastic:main Aug 29, 2024
@kibanamachine kibanamachine added the backport:skip This PR does not require backporting label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:fix Team:DataDiscovery Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t// Team:ESQL ES|QL related features in Kibana t// v8.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ES|QL mode shows extra entries in Inspector

8 participants