Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Index Management] Fix managed data streams badge #173408

Merged
merged 6 commits into from
Jan 4, 2024

Conversation

yuliacech
Copy link
Contributor

@yuliacech yuliacech commented Dec 14, 2023

Summary

This PR fixes the badge "managed" missing from the data streams list. The code used to check that the data stream has both conditions for a managed data streams meta.managed: true and meta.managed_by: 'ingest-manager'. The check for ingest-manager is not coorect since it's been renamed to fleet. Instead of updating the check though, I decided to only leave the condition for meta.managed : true and I removed all mentions of "Fleet" from the Data streams tab. I believe that is more consistent for the UI, since we don't mention "Fleet-managed" anywhere else like ILM, index templates etc.

Screenshot

Screenshot 2023-12-18 at 16 11 35

Release Note

Fixed the badge for managed data streams in Index Management

@yuliacech yuliacech added release_note:fix Feature:Index Management Index and index templates UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Dec 14, 2023
@yuliacech
Copy link
Contributor Author

/ci

@yuliacech yuliacech marked this pull request as ready for review December 18, 2023 15:40
@yuliacech yuliacech requested a review from a team as a code owner December 18, 2023 15:40
@elasticmachine
Copy link
Contributor

Pinging @elastic/platform-deployment-management (Team:Deployment Management)

@ElenaStoeva ElenaStoeva self-requested a review December 18, 2023 17:08
Copy link
Contributor

@ElenaStoeva ElenaStoeva left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this @yuliacech! Tested locally and code changes LGTM.

@kibana-ci
Copy link
Collaborator

💚 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
indexManagement 585.1KB 585.0KB -105.0B

History

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

@yuliacech yuliacech merged commit 6d909ff into elastic:main Jan 4, 2024
22 checks passed
@kibanamachine kibanamachine added v8.13.0 backport:skip This commit does not require backporting labels Jan 4, 2024
@yuliacech yuliacech deleted the im/managed_datastreams branch February 15, 2024 12:03
wayneseymour added a commit to wayneseymour/kibana that referenced this pull request Apr 19, 2024
…mmon/management/index_management/data_streams.ts

## Failing on Serverless

File last modified in: elastic#173408

## Error message
Error: expected 'Error updating data retention: \'Request for uri [/_data_stream/test-ds-1/_lifecycle] with method [DELETE] exists but is not available when running in serverless mode\'' to contain 'Data retention disabled'
    at Assertion.assert (expect.js:100:11)
    at Assertion.contain (expect.js:442:10)
    at Context. (data_streams.ts:137:54)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.apply (wrap_function.js:73:16)
mistic pushed a commit that referenced this pull request Apr 20, 2024
#181243)

…mmon/management/index_management/data_streams.ts

See issue for details: #181242

## Failing on Serverless

File last modified in: #173408

## Error message
Error: expected 'Error updating data retention: \'Request for uri
[/_data_stream/test-ds-1/_lifecycle] with method [DELETE] exists but is
not available when running in serverless mode\'' to contain 'Data
retention disabled'
    at Assertion.assert (expect.js:100:11)
    at Assertion.contain (expect.js:442:10)
    at Context. (data_streams.ts:137:54)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.apply (wrap_function.js:73:16)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:Index Management Index and index templates UI release_note:fix Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v8.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants