Skip to content

[ML] Fix model deployment check in file uploader#209585

Merged
jgowdyelastic merged 7 commits intoelastic:mainfrom
jgowdyelastic:fix-model-allocation-check-in-file-uploader
Feb 11, 2025
Merged

[ML] Fix model deployment check in file uploader#209585
jgowdyelastic merged 7 commits intoelastic:mainfrom
jgowdyelastic:fix-model-allocation-check-in-file-uploader

Conversation

@jgowdyelastic
Copy link
Copy Markdown
Member

@jgowdyelastic jgowdyelastic commented Feb 4, 2025

Adding an additional check to see if the selected model has been deployed before continuing with the upload.
The num_allocations count can occasionally be incorrect, so this also checks to see if the initial call to the inference api has returned with no error. If it has, the model must be deployed.

To test:
Manually deploy both .elser_model_2 and .multilingual-e5-small in ML's trained models page.

In dev tools call:

POST /_inference/.multilingual-e5-small-elasticsearch
{
"input": ""
}

then call:

POST /_inference/.elser-2-elasticsearch
{
"input": ""
}

Once both models have been deployed, check the num_allocations of .elser-2-elasticsearch

GET /_inference/.elser-2-elasticsearch

It should be 0 even though the model has been deployed.
If it isn't 0. wait around 15mins for both models to scale down then repeat the dev tools commands.
Call this to check num_allocations in both models.

GET /_inference/_all

@jgowdyelastic jgowdyelastic changed the title [ML] Fix model allocation check in file uploader [ML] Fix model deployment check in file uploader Feb 6, 2025
@jgowdyelastic jgowdyelastic self-assigned this Feb 6, 2025
@jgowdyelastic jgowdyelastic marked this pull request as ready for review February 6, 2025 17:21
@jgowdyelastic jgowdyelastic requested a review from a team as a code owner February 6, 2025 17:21
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui (:ml)

@jgowdyelastic jgowdyelastic added the release_note:skip Skip the PR/issue when compiling release notes label Feb 6, 2025
Copy link
Copy Markdown
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

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

Tested using your instructions and LGTM. No longer see any uploads stalling.

@jgowdyelastic jgowdyelastic requested review from peteharverson and qn895 and removed request for alvarezmelissa87 February 10, 2025 10:05
Copy link
Copy Markdown
Member

@qn895 qn895 left a comment

Choose a reason for hiding this comment

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

Code LGTM 🎉

@jgowdyelastic jgowdyelastic enabled auto-merge (squash) February 11, 2025 15:40
@jgowdyelastic jgowdyelastic merged commit 06801d8 into elastic:main Feb 11, 2025
1 check passed
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.18, 8.x, 9.0

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

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 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
dataVisualizer 721.3KB 721.4KB +190.0B

History

cc @jgowdyelastic

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Feb 11, 2025
Adding an additional check to see if the selected model has been
deployed before continuing with the upload.
The `num_allocations` count can occasionally be incorrect, so this also
checks to see if the initial call to the inference api has returned with
no error. If it has, the model must be deployed.

To test:
Manually deploy both `.elser_model_2` and `.multilingual-e5-small` in
ML's trained models page.

In dev tools call:
```
POST /_inference/.multilingual-e5-small-elasticsearch
{
"input": ""
}
```
then call:
```
POST /_inference/.elser-2-elasticsearch
{
"input": ""
}
```
Once both models have been deployed, check the `num_allocations` of
`.elser-2-elasticsearch`
```
GET /_inference/.elser-2-elasticsearch
```

It should be `0` even though the model has been deployed.
If it isn't `0`. wait around 15mins for both models to scale down then
repeat the dev tools commands.
Call this to check `num_allocations ` in both models.
```
GET /_inference/_all
```

(cherry picked from commit 06801d8)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Feb 11, 2025
Adding an additional check to see if the selected model has been
deployed before continuing with the upload.
The `num_allocations` count can occasionally be incorrect, so this also
checks to see if the initial call to the inference api has returned with
no error. If it has, the model must be deployed.

To test:
Manually deploy both `.elser_model_2` and `.multilingual-e5-small` in
ML's trained models page.

In dev tools call:
```
POST /_inference/.multilingual-e5-small-elasticsearch
{
"input": ""
}
```
then call:
```
POST /_inference/.elser-2-elasticsearch
{
"input": ""
}
```
Once both models have been deployed, check the `num_allocations` of
`.elser-2-elasticsearch`
```
GET /_inference/.elser-2-elasticsearch
```

It should be `0` even though the model has been deployed.
If it isn't `0`. wait around 15mins for both models to scale down then
repeat the dev tools commands.
Call this to check `num_allocations ` in both models.
```
GET /_inference/_all
```

(cherry picked from commit 06801d8)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Feb 11, 2025
Adding an additional check to see if the selected model has been
deployed before continuing with the upload.
The `num_allocations` count can occasionally be incorrect, so this also
checks to see if the initial call to the inference api has returned with
no error. If it has, the model must be deployed.

To test:
Manually deploy both `.elser_model_2` and `.multilingual-e5-small` in
ML's trained models page.

In dev tools call:
```
POST /_inference/.multilingual-e5-small-elasticsearch
{
"input": ""
}
```
then call:
```
POST /_inference/.elser-2-elasticsearch
{
"input": ""
}
```
Once both models have been deployed, check the `num_allocations` of
`.elser-2-elasticsearch`
```
GET /_inference/.elser-2-elasticsearch
```

It should be `0` even though the model has been deployed.
If it isn't `0`. wait around 15mins for both models to scale down then
repeat the dev tools commands.
Call this to check `num_allocations ` in both models.
```
GET /_inference/_all
```

(cherry picked from commit 06801d8)
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
8.18
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 Feb 11, 2025
…10644)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[ML] Fix model deployment check in file uploader
(#209585)](#209585)

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

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

<!--BACKPORT [{"author":{"name":"James
Gowdy","email":"jgowdy@elastic.co"},"sourceCommit":{"committedDate":"2025-02-11T17:14:31Z","message":"[ML]
Fix model deployment check in file uploader (#209585)\n\nAdding an
additional check to see if the selected model has been\r\ndeployed
before continuing with the upload.\r\nThe `num_allocations` count can
occasionally be incorrect, so this also\r\nchecks to see if the initial
call to the inference api has returned with\r\nno error. If it has, the
model must be deployed.\r\n\r\nTo test:\r\nManually deploy both
`.elser_model_2` and `.multilingual-e5-small` in\r\nML's trained models
page.\r\n\r\nIn dev tools call:\r\n```\r\nPOST
/_inference/.multilingual-e5-small-elasticsearch\r\n{\r\n\"input\":
\"\"\r\n}\r\n```\r\nthen call:\r\n```\r\nPOST
/_inference/.elser-2-elasticsearch\r\n{\r\n\"input\":
\"\"\r\n}\r\n```\r\nOnce both models have been deployed, check the
`num_allocations` of\r\n`.elser-2-elasticsearch`\r\n```\r\nGET
/_inference/.elser-2-elasticsearch\r\n```\r\n\r\nIt should be `0` even
though the model has been deployed.\r\nIf it isn't `0`. wait around
15mins for both models to scale down then\r\nrepeat the dev tools
commands.\r\nCall this to check `num_allocations ` in both
models.\r\n```\r\nGET
/_inference/_all\r\n```","sha":"06801d82fed6329368ffa0a817483ec4e4d0c251","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","Feature:File
and Index Data Viz","Feature:File
Upload","v9.0.0","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"[ML]
Fix model deployment check in file
uploader","number":209585,"url":"https://github.com/elastic/kibana/pull/209585","mergeCommit":{"message":"[ML]
Fix model deployment check in file uploader (#209585)\n\nAdding an
additional check to see if the selected model has been\r\ndeployed
before continuing with the upload.\r\nThe `num_allocations` count can
occasionally be incorrect, so this also\r\nchecks to see if the initial
call to the inference api has returned with\r\nno error. If it has, the
model must be deployed.\r\n\r\nTo test:\r\nManually deploy both
`.elser_model_2` and `.multilingual-e5-small` in\r\nML's trained models
page.\r\n\r\nIn dev tools call:\r\n```\r\nPOST
/_inference/.multilingual-e5-small-elasticsearch\r\n{\r\n\"input\":
\"\"\r\n}\r\n```\r\nthen call:\r\n```\r\nPOST
/_inference/.elser-2-elasticsearch\r\n{\r\n\"input\":
\"\"\r\n}\r\n```\r\nOnce both models have been deployed, check the
`num_allocations` of\r\n`.elser-2-elasticsearch`\r\n```\r\nGET
/_inference/.elser-2-elasticsearch\r\n```\r\n\r\nIt should be `0` even
though the model has been deployed.\r\nIf it isn't `0`. wait around
15mins for both models to scale down then\r\nrepeat the dev tools
commands.\r\nCall this to check `num_allocations ` in both
models.\r\n```\r\nGET
/_inference/_all\r\n```","sha":"06801d82fed6329368ffa0a817483ec4e4d0c251"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.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/209585","number":209585,"mergeCommit":{"message":"[ML]
Fix model deployment check in file uploader (#209585)\n\nAdding an
additional check to see if the selected model has been\r\ndeployed
before continuing with the upload.\r\nThe `num_allocations` count can
occasionally be incorrect, so this also\r\nchecks to see if the initial
call to the inference api has returned with\r\nno error. If it has, the
model must be deployed.\r\n\r\nTo test:\r\nManually deploy both
`.elser_model_2` and `.multilingual-e5-small` in\r\nML's trained models
page.\r\n\r\nIn dev tools call:\r\n```\r\nPOST
/_inference/.multilingual-e5-small-elasticsearch\r\n{\r\n\"input\":
\"\"\r\n}\r\n```\r\nthen call:\r\n```\r\nPOST
/_inference/.elser-2-elasticsearch\r\n{\r\n\"input\":
\"\"\r\n}\r\n```\r\nOnce both models have been deployed, check the
`num_allocations` of\r\n`.elser-2-elasticsearch`\r\n```\r\nGET
/_inference/.elser-2-elasticsearch\r\n```\r\n\r\nIt should be `0` even
though the model has been deployed.\r\nIf it isn't `0`. wait around
15mins for both models to scale down then\r\nrepeat the dev tools
commands.\r\nCall this to check `num_allocations ` in both
models.\r\n```\r\nGET
/_inference/_all\r\n```","sha":"06801d82fed6329368ffa0a817483ec4e4d0c251"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: James Gowdy <jgowdy@elastic.co>
kibanamachine added a commit that referenced this pull request Feb 11, 2025
…0646)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[ML] Fix model deployment check in file uploader
(#209585)](#209585)

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

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

<!--BACKPORT [{"author":{"name":"James
Gowdy","email":"jgowdy@elastic.co"},"sourceCommit":{"committedDate":"2025-02-11T17:14:31Z","message":"[ML]
Fix model deployment check in file uploader (#209585)\n\nAdding an
additional check to see if the selected model has been\r\ndeployed
before continuing with the upload.\r\nThe `num_allocations` count can
occasionally be incorrect, so this also\r\nchecks to see if the initial
call to the inference api has returned with\r\nno error. If it has, the
model must be deployed.\r\n\r\nTo test:\r\nManually deploy both
`.elser_model_2` and `.multilingual-e5-small` in\r\nML's trained models
page.\r\n\r\nIn dev tools call:\r\n```\r\nPOST
/_inference/.multilingual-e5-small-elasticsearch\r\n{\r\n\"input\":
\"\"\r\n}\r\n```\r\nthen call:\r\n```\r\nPOST
/_inference/.elser-2-elasticsearch\r\n{\r\n\"input\":
\"\"\r\n}\r\n```\r\nOnce both models have been deployed, check the
`num_allocations` of\r\n`.elser-2-elasticsearch`\r\n```\r\nGET
/_inference/.elser-2-elasticsearch\r\n```\r\n\r\nIt should be `0` even
though the model has been deployed.\r\nIf it isn't `0`. wait around
15mins for both models to scale down then\r\nrepeat the dev tools
commands.\r\nCall this to check `num_allocations ` in both
models.\r\n```\r\nGET
/_inference/_all\r\n```","sha":"06801d82fed6329368ffa0a817483ec4e4d0c251","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","Feature:File
and Index Data Viz","Feature:File
Upload","v9.0.0","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"[ML]
Fix model deployment check in file
uploader","number":209585,"url":"https://github.com/elastic/kibana/pull/209585","mergeCommit":{"message":"[ML]
Fix model deployment check in file uploader (#209585)\n\nAdding an
additional check to see if the selected model has been\r\ndeployed
before continuing with the upload.\r\nThe `num_allocations` count can
occasionally be incorrect, so this also\r\nchecks to see if the initial
call to the inference api has returned with\r\nno error. If it has, the
model must be deployed.\r\n\r\nTo test:\r\nManually deploy both
`.elser_model_2` and `.multilingual-e5-small` in\r\nML's trained models
page.\r\n\r\nIn dev tools call:\r\n```\r\nPOST
/_inference/.multilingual-e5-small-elasticsearch\r\n{\r\n\"input\":
\"\"\r\n}\r\n```\r\nthen call:\r\n```\r\nPOST
/_inference/.elser-2-elasticsearch\r\n{\r\n\"input\":
\"\"\r\n}\r\n```\r\nOnce both models have been deployed, check the
`num_allocations` of\r\n`.elser-2-elasticsearch`\r\n```\r\nGET
/_inference/.elser-2-elasticsearch\r\n```\r\n\r\nIt should be `0` even
though the model has been deployed.\r\nIf it isn't `0`. wait around
15mins for both models to scale down then\r\nrepeat the dev tools
commands.\r\nCall this to check `num_allocations ` in both
models.\r\n```\r\nGET
/_inference/_all\r\n```","sha":"06801d82fed6329368ffa0a817483ec4e4d0c251"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.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/209585","number":209585,"mergeCommit":{"message":"[ML]
Fix model deployment check in file uploader (#209585)\n\nAdding an
additional check to see if the selected model has been\r\ndeployed
before continuing with the upload.\r\nThe `num_allocations` count can
occasionally be incorrect, so this also\r\nchecks to see if the initial
call to the inference api has returned with\r\nno error. If it has, the
model must be deployed.\r\n\r\nTo test:\r\nManually deploy both
`.elser_model_2` and `.multilingual-e5-small` in\r\nML's trained models
page.\r\n\r\nIn dev tools call:\r\n```\r\nPOST
/_inference/.multilingual-e5-small-elasticsearch\r\n{\r\n\"input\":
\"\"\r\n}\r\n```\r\nthen call:\r\n```\r\nPOST
/_inference/.elser-2-elasticsearch\r\n{\r\n\"input\":
\"\"\r\n}\r\n```\r\nOnce both models have been deployed, check the
`num_allocations` of\r\n`.elser-2-elasticsearch`\r\n```\r\nGET
/_inference/.elser-2-elasticsearch\r\n```\r\n\r\nIt should be `0` even
though the model has been deployed.\r\nIf it isn't `0`. wait around
15mins for both models to scale down then\r\nrepeat the dev tools
commands.\r\nCall this to check `num_allocations ` in both
models.\r\n```\r\nGET
/_inference/_all\r\n```","sha":"06801d82fed6329368ffa0a817483ec4e4d0c251"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: James Gowdy <jgowdy@elastic.co>
kibanamachine added a commit that referenced this pull request Feb 11, 2025
…0645)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ML] Fix model deployment check in file uploader
(#209585)](#209585)

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

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

<!--BACKPORT [{"author":{"name":"James
Gowdy","email":"jgowdy@elastic.co"},"sourceCommit":{"committedDate":"2025-02-11T17:14:31Z","message":"[ML]
Fix model deployment check in file uploader (#209585)\n\nAdding an
additional check to see if the selected model has been\r\ndeployed
before continuing with the upload.\r\nThe `num_allocations` count can
occasionally be incorrect, so this also\r\nchecks to see if the initial
call to the inference api has returned with\r\nno error. If it has, the
model must be deployed.\r\n\r\nTo test:\r\nManually deploy both
`.elser_model_2` and `.multilingual-e5-small` in\r\nML's trained models
page.\r\n\r\nIn dev tools call:\r\n```\r\nPOST
/_inference/.multilingual-e5-small-elasticsearch\r\n{\r\n\"input\":
\"\"\r\n}\r\n```\r\nthen call:\r\n```\r\nPOST
/_inference/.elser-2-elasticsearch\r\n{\r\n\"input\":
\"\"\r\n}\r\n```\r\nOnce both models have been deployed, check the
`num_allocations` of\r\n`.elser-2-elasticsearch`\r\n```\r\nGET
/_inference/.elser-2-elasticsearch\r\n```\r\n\r\nIt should be `0` even
though the model has been deployed.\r\nIf it isn't `0`. wait around
15mins for both models to scale down then\r\nrepeat the dev tools
commands.\r\nCall this to check `num_allocations ` in both
models.\r\n```\r\nGET
/_inference/_all\r\n```","sha":"06801d82fed6329368ffa0a817483ec4e4d0c251","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","Feature:File
and Index Data Viz","Feature:File
Upload","v9.0.0","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"[ML]
Fix model deployment check in file
uploader","number":209585,"url":"https://github.com/elastic/kibana/pull/209585","mergeCommit":{"message":"[ML]
Fix model deployment check in file uploader (#209585)\n\nAdding an
additional check to see if the selected model has been\r\ndeployed
before continuing with the upload.\r\nThe `num_allocations` count can
occasionally be incorrect, so this also\r\nchecks to see if the initial
call to the inference api has returned with\r\nno error. If it has, the
model must be deployed.\r\n\r\nTo test:\r\nManually deploy both
`.elser_model_2` and `.multilingual-e5-small` in\r\nML's trained models
page.\r\n\r\nIn dev tools call:\r\n```\r\nPOST
/_inference/.multilingual-e5-small-elasticsearch\r\n{\r\n\"input\":
\"\"\r\n}\r\n```\r\nthen call:\r\n```\r\nPOST
/_inference/.elser-2-elasticsearch\r\n{\r\n\"input\":
\"\"\r\n}\r\n```\r\nOnce both models have been deployed, check the
`num_allocations` of\r\n`.elser-2-elasticsearch`\r\n```\r\nGET
/_inference/.elser-2-elasticsearch\r\n```\r\n\r\nIt should be `0` even
though the model has been deployed.\r\nIf it isn't `0`. wait around
15mins for both models to scale down then\r\nrepeat the dev tools
commands.\r\nCall this to check `num_allocations ` in both
models.\r\n```\r\nGET
/_inference/_all\r\n```","sha":"06801d82fed6329368ffa0a817483ec4e4d0c251"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.x"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.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/209585","number":209585,"mergeCommit":{"message":"[ML]
Fix model deployment check in file uploader (#209585)\n\nAdding an
additional check to see if the selected model has been\r\ndeployed
before continuing with the upload.\r\nThe `num_allocations` count can
occasionally be incorrect, so this also\r\nchecks to see if the initial
call to the inference api has returned with\r\nno error. If it has, the
model must be deployed.\r\n\r\nTo test:\r\nManually deploy both
`.elser_model_2` and `.multilingual-e5-small` in\r\nML's trained models
page.\r\n\r\nIn dev tools call:\r\n```\r\nPOST
/_inference/.multilingual-e5-small-elasticsearch\r\n{\r\n\"input\":
\"\"\r\n}\r\n```\r\nthen call:\r\n```\r\nPOST
/_inference/.elser-2-elasticsearch\r\n{\r\n\"input\":
\"\"\r\n}\r\n```\r\nOnce both models have been deployed, check the
`num_allocations` of\r\n`.elser-2-elasticsearch`\r\n```\r\nGET
/_inference/.elser-2-elasticsearch\r\n```\r\n\r\nIt should be `0` even
though the model has been deployed.\r\nIf it isn't `0`. wait around
15mins for both models to scale down then\r\nrepeat the dev tools
commands.\r\nCall this to check `num_allocations ` in both
models.\r\n```\r\nGET
/_inference/_all\r\n```","sha":"06801d82fed6329368ffa0a817483ec4e4d0c251"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: James Gowdy <jgowdy@elastic.co>
kapral18 added a commit to agusruidiazgd/kibana that referenced this pull request Feb 11, 2025
…on-206439

* main: (402 commits)
  [Search]: Fix Number type field to have correct property (elastic#210462)
  Change filter for rule monitoring gaps (elastic#209983)
  Update Logs Explorer deprecation messages (elastic#201307)
  [APM] Remove `error.id` in `getErrorGroupMainStatistics` query as it's not used (elastic#210613)
  [Embeddable] Fix presentation panel styles (elastic#210113)
  [ci] enable Scout reporter for on-merge-unsupported-ftrs (elastic#210627)
  [Fix][Synonyms UI]Add navigation link to the Detail breadcrumb. (elastic#209574)
  chore(dep): bump `store2` from `2.12.0` to `2.14.4` (elastic#210530)
  [scout] adding test helper `@kbn/scout-oblt` package and uptate onboarding tests (elastic#209761)
  [Cloud Security] Asset Inventory table flyout controls  (elastic#208452)
  [ML] Fix model deployment check in file uploader (elastic#209585)
  Updates archive again (elastic#209828)
  [Security Solution] Added concurrency limits and request throttling to prebuilt rule routes (elastic#209551)
  [Search] [Onboarding] Update search api to use EventEmitter instead of Provider (elastic#209784)
  [maps] lazy load map actions (elastic#210252)
  [Cloud Security] Adding telemetry collection condition based on render condition (elastic#208758)
  [Solution nav] Use flyout for Stack Management in Search and Observability solutions (elastic#208632)
  [Search] Fix Add Inference Endpoint API call (elastic#210243)
  [Agentless Connectors] Integration overview panel (elastic#210222)
  [Lens] Restore dynamic colouring by value for Last value agg (elastic#209110)
  ...
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:File and Index Data Viz ML file and index data visualizer Feature:File Upload :ml release_note:skip Skip the PR/issue when compiling release notes v8.18.0 v8.19.0 v9.0.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants