kibana/x-pack/test/functional/apps/ml/data_visualizer
Kibana Machine 14d85755d9
[8.x] [ML][ES|QL] Adds query guardrails and technical preview badge to ES|QL data visualizer (#200325) (#200677)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ML][ES|QL] Adds query guardrails and technical preview badge to
ES|QL data visualizer
(#200325)](https://github.com/elastic/kibana/pull/200325)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Quynh Nguyen
(Quinn)","email":"43350163+qn895@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-11-19T08:11:46Z","message":"[ML][ES|QL]
Adds query guardrails and technical preview badge to ES|QL data
visualizer (#200325)\n\n## Summary\r\n\r\nAdds extra guardrails to the
searches, plus the technical preview badge,\r\nto the ES|QL data
visualizer. \\\r\n\r\nThe extra safety guards applied are:\r\n- Lowers
the limit of # of rows sampled to 5000\r\n- Changes the pagination to 10
by default, and only allows 10 to 25 rows\r\nvisible concurrently\r\n-
Hides distribution charts by default\r\n- Always have frozen tier
excluded in the queries\r\n\r\n<img width=\"1164\" alt=\"Screenshot
2024-11-16 at 18 26
20\"\r\nsrc=\"488f44dd-4a3c-48c7-8416-5091b614edfd\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nCheck the PR satisfies following conditions.
\r\n\r\nReviewers should verify this PR satisfies this list as
well.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] If a plugin
configuration key changed, check if it needs to be\r\nallowlisted in the
cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\r\nchanges have been approved by the breaking-change committee.
The\r\n`release_note:breaking` label should be applied in these
situations.\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] The PR description includes
the appropriate Release Notes section,\r\nand the correct
`release_node:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n###
Identify risks\r\n\r\nDoes this PR introduce any risks? For example,
consider risks like hard\r\nto test bugs, performance regression,
potential of data loss.\r\n\r\nDescribe the risk, its severity, and
mitigation for each identified\r\nrisk. Invite stakeholders and evaluate
how to proceed before merging.\r\n\r\n- [ ] [See some
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\r\n-
[ ]
...","sha":"94aaed3b139b0bdeeb581954053871d75c098a4a","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","Feature:File
and Index Data
Viz","v9.0.0","backport:version","v8.17.0"],"title":"[ML][ES|QL] Adds
query guardrails and technical preview badge to ES|QL data
visualizer","number":200325,"url":"https://github.com/elastic/kibana/pull/200325","mergeCommit":{"message":"[ML][ES|QL]
Adds query guardrails and technical preview badge to ES|QL data
visualizer (#200325)\n\n## Summary\r\n\r\nAdds extra guardrails to the
searches, plus the technical preview badge,\r\nto the ES|QL data
visualizer. \\\r\n\r\nThe extra safety guards applied are:\r\n- Lowers
the limit of # of rows sampled to 5000\r\n- Changes the pagination to 10
by default, and only allows 10 to 25 rows\r\nvisible concurrently\r\n-
Hides distribution charts by default\r\n- Always have frozen tier
excluded in the queries\r\n\r\n<img width=\"1164\" alt=\"Screenshot
2024-11-16 at 18 26
20\"\r\nsrc=\"488f44dd-4a3c-48c7-8416-5091b614edfd\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nCheck the PR satisfies following conditions.
\r\n\r\nReviewers should verify this PR satisfies this list as
well.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] If a plugin
configuration key changed, check if it needs to be\r\nallowlisted in the
cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\r\nchanges have been approved by the breaking-change committee.
The\r\n`release_note:breaking` label should be applied in these
situations.\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] The PR description includes
the appropriate Release Notes section,\r\nand the correct
`release_node:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n###
Identify risks\r\n\r\nDoes this PR introduce any risks? For example,
consider risks like hard\r\nto test bugs, performance regression,
potential of data loss.\r\n\r\nDescribe the risk, its severity, and
mitigation for each identified\r\nrisk. Invite stakeholders and evaluate
how to proceed before merging.\r\n\r\n- [ ] [See some
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\r\n-
[ ]
...","sha":"94aaed3b139b0bdeeb581954053871d75c098a4a"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200325","number":200325,"mergeCommit":{"message":"[ML][ES|QL]
Adds query guardrails and technical preview badge to ES|QL data
visualizer (#200325)\n\n## Summary\r\n\r\nAdds extra guardrails to the
searches, plus the technical preview badge,\r\nto the ES|QL data
visualizer. \\\r\n\r\nThe extra safety guards applied are:\r\n- Lowers
the limit of # of rows sampled to 5000\r\n- Changes the pagination to 10
by default, and only allows 10 to 25 rows\r\nvisible concurrently\r\n-
Hides distribution charts by default\r\n- Always have frozen tier
excluded in the queries\r\n\r\n<img width=\"1164\" alt=\"Screenshot
2024-11-16 at 18 26
20\"\r\nsrc=\"488f44dd-4a3c-48c7-8416-5091b614edfd\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nCheck the PR satisfies following conditions.
\r\n\r\nReviewers should verify this PR satisfies this list as
well.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] If a plugin
configuration key changed, check if it needs to be\r\nallowlisted in the
cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\r\nchanges have been approved by the breaking-change committee.
The\r\n`release_note:breaking` label should be applied in these
situations.\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] The PR description includes
the appropriate Release Notes section,\r\nand the correct
`release_node:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n###
Identify risks\r\n\r\nDoes this PR introduce any risks? For example,
consider risks like hard\r\nto test bugs, performance regression,
potential of data loss.\r\n\r\nDescribe the risk, its severity, and
mitigation for each identified\r\nrisk. Invite stakeholders and evaluate
how to proceed before merging.\r\n\r\n- [ ] [See some
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\r\n-
[ ]
...","sha":"94aaed3b139b0bdeeb581954053871d75c098a4a"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Quynh Nguyen (Quinn) <43350163+qn895@users.noreply.github.com>
2024-11-19 03:59:53 -06:00
..
files_to_import [8.x] [ML] Fix file upload with no ingest pipeline (#193744) (#194019) 2024-09-25 12:25:49 -05:00
config.ts
data_drift.ts [FTR] enable recommended mocha + no-floating-promises ESLint rules (#190690) 2024-08-23 11:54:36 -05:00
esql_data_visualizer.ts [8.x] [ML][ES|QL] Adds query guardrails and technical preview badge to ES|QL data visualizer (#200325) (#200677) 2024-11-19 03:59:53 -06:00
file_data_visualizer.ts [8.x] [ML] Fix file upload when pipline is used (#194273) (#194334) 2024-09-27 13:59:57 -05:00
index.ts [ML] [AIOps] Pattern analysis tab in Discover (#178916) 2024-05-22 14:13:07 +01:00
index_data_visualizer.ts [ML] Rename index pattern references to data view. (#171627) 2023-11-23 08:17:26 +01:00
index_data_visualizer_actions_panel.ts [ML] Rename index pattern references to data view. (#171627) 2023-11-23 08:17:26 +01:00
index_data_visualizer_data_view_management.ts [ML] Adds serverless functional test for Frozen data tier control and ES|QL data visualizer links (#181193) 2024-05-03 09:08:37 -07:00
index_data_visualizer_filters.ts [FTR] add dataViews service (#180066) 2024-04-10 16:33:00 +02:00
index_data_visualizer_grid_in_dashboard.ts Simplify workflow for dashboard copy creation in both view and edit interaction modes (#180938) 2024-05-29 11:46:23 +02:00
index_data_visualizer_grid_in_discover.ts [ML] [AIOps] Pattern analysis tab in Discover (#178916) 2024-05-22 14:13:07 +01:00
index_data_visualizer_grid_in_discover_basic.ts [ML] [AIOps] Pattern analysis tab in Discover (#178916) 2024-05-22 14:13:07 +01:00
index_data_visualizer_grid_in_discover_trial.ts [ML] [AIOps] Pattern analysis tab in Discover (#178916) 2024-05-22 14:13:07 +01:00
index_data_visualizer_random_sampler.ts [ML] Rename index pattern references to data view. (#171627) 2023-11-23 08:17:26 +01:00
index_test_data.ts [ML] Add sampled % of documents & cardinality for text fields for Data visualizer/Field stats & fix missing bucket in doc count chart (#172378) 2023-12-05 13:22:59 -07:00
index_test_data_random_sampler.ts [ML] Add sampled % of documents & cardinality for text fields for Data visualizer/Field stats & fix missing bucket in doc count chart (#172378) 2023-12-05 13:22:59 -07:00
types.ts [ML] Fixes ES|QL field stats showing skewed numeric distribution, duplicated examples for string fields, and adds functional tests (#177085) 2024-03-12 15:52:12 -07:00