-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
# Backport This will backport the following commits from `main` to `8.x`: - [π Streams: Show data retention on stream (#204125)](#204125) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Joe Reuter","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-09T08:25:19Z","message":"π Streams: Show data retention on stream (#204125)\n\nShow data retention on streams\r\n\r\nIn case of a policy, the name of the policy is shown (badge is clickable\r\nand leads to the edit page of the policy):\r\n<img width=\"524\" alt=\"Screenshot 2024-12-12 at 20 57 36\"\r\nsrc=\"https://github.com/user-attachments/assets/2664b45b-2473-49c4-b1d6-dccb8fe48d43\"\r\n/>\r\n\r\nIn case of DLM, the effect retention is shown:\r\n<img width=\"532\" alt=\"Screenshot 2024-12-12 at 20 58 42\"\r\nsrc=\"https://github.com/user-attachments/assets/07ca8086-75e2-45f8-9d71-17bd0a76ebe5\"\r\n/>\r\n\r\nThis is just the display piece, editing retention will be added later\r\non.\r\n\r\nThis PR adjusts the base streams data stream settings to use a localized\r\ndata stream retention configuration to make it compatible with\r\nserverless.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"3515a0f7b8958b11a9065696ac154b56446f7294","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","v8.18.0","Feature:Streams"],"title":"π Streams: Show data retention on stream","number":204125,"url":"https://github.com/elastic/kibana/pull/204125","mergeCommit":{"message":"π Streams: Show data retention on stream (#204125)\n\nShow data retention on streams\r\n\r\nIn case of a policy, the name of the policy is shown (badge is clickable\r\nand leads to the edit page of the policy):\r\n<img width=\"524\" alt=\"Screenshot 2024-12-12 at 20 57 36\"\r\nsrc=\"https://github.com/user-attachments/assets/2664b45b-2473-49c4-b1d6-dccb8fe48d43\"\r\n/>\r\n\r\nIn case of DLM, the effect retention is shown:\r\n<img width=\"532\" alt=\"Screenshot 2024-12-12 at 20 58 42\"\r\nsrc=\"https://github.com/user-attachments/assets/07ca8086-75e2-45f8-9d71-17bd0a76ebe5\"\r\n/>\r\n\r\nThis is just the display piece, editing retention will be added later\r\non.\r\n\r\nThis PR adjusts the base streams data stream settings to use a localized\r\ndata stream retention configuration to make it compatible with\r\nserverless.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"3515a0f7b8958b11a9065696ac154b56446f7294"}},"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/204125","number":204125,"mergeCommit":{"message":"π Streams: Show data retention on stream (#204125)\n\nShow data retention on streams\r\n\r\nIn case of a policy, the name of the policy is shown (badge is clickable\r\nand leads to the edit page of the policy):\r\n<img width=\"524\" alt=\"Screenshot 2024-12-12 at 20 57 36\"\r\nsrc=\"https://github.com/user-attachments/assets/2664b45b-2473-49c4-b1d6-dccb8fe48d43\"\r\n/>\r\n\r\nIn case of DLM, the effect retention is shown:\r\n<img width=\"532\" alt=\"Screenshot 2024-12-12 at 20 58 42\"\r\nsrc=\"https://github.com/user-attachments/assets/07ca8086-75e2-45f8-9d71-17bd0a76ebe5\"\r\n/>\r\n\r\nThis is just the display piece, editing retention will be added later\r\non.\r\n\r\nThis PR adjusts the base streams data stream settings to use a localized\r\ndata stream retention configuration to make it compatible with\r\nserverless.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"3515a0f7b8958b11a9065696ac154b56446f7294"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Joe Reuter <[email protected]>
- Loading branch information
1 parent
3ee7fde
commit 4bd76d5
Showing
26 changed files
with
175 additions
and
69 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
x-pack/packages/kbn-streams-schema/src/apis/__snapshots__/read_streams_response.test.ts.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...ackages/kbn-streams-schema/src/models/read_streams/__snapshots__/read_stream.test.ts.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ | |
|
||
export const ILM_LOCATOR_ID = 'ILM_LOCATOR_ID'; | ||
export * from './src/policies'; | ||
export * from './src/locator'; |
12 changes: 12 additions & 0 deletions
12
...shared/index-lifecycle-management/index_lifecycle_management_common_shared/src/locator.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
import type { SerializableRecord } from '@kbn/utility-types'; | ||
|
||
export interface IlmLocatorParams extends SerializableRecord { | ||
page: 'policies_list' | 'policy_edit' | 'policy_create'; | ||
policyName?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,5 +16,6 @@ | |
"target/**/*" | ||
], | ||
"kbn_references": [ | ||
"@kbn/utility-types", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.