Skip to content

[scout] add configs override support#228003

Merged
dmlemeshko merged 6 commits intoelastic:mainfrom
dmlemeshko:scout/add-core-settings-api
Jul 18, 2025
Merged

[scout] add configs override support#228003
dmlemeshko merged 6 commits intoelastic:mainfrom
dmlemeshko:scout/add-core-settings-api

Conversation

@dmlemeshko
Copy link
Copy Markdown
Contributor

@dmlemeshko dmlemeshko commented Jul 15, 2025

Summary

Adding support of dynamic Kibana config overrides without server restart, that should help Feature Flags testing in Scout.

https://docs.elastic.dev/kibana-dev-docs/tutorials/feature-flags-service#dynamic-config

@dmlemeshko dmlemeshko requested a review from afharo July 15, 2025 12:38
@dmlemeshko dmlemeshko requested a review from pheyos July 15, 2025 12:48
@dmlemeshko dmlemeshko self-assigned this Jul 15, 2025
@dmlemeshko dmlemeshko added v9.1.0 v8.19.0 v9.2.0 release_note:skip Skip the PR/issue when compiling release notes backport:version Backport to applied version labels labels Jul 15, 2025
@dmlemeshko dmlemeshko marked this pull request as ready for review July 15, 2025 13:35
@dmlemeshko dmlemeshko requested a review from a team as a code owner July 15, 2025 13:35
@dmlemeshko dmlemeshko merged commit 71f714a into elastic:main Jul 18, 2025
13 checks passed
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.19, 9.1

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

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/scout 124 125 +1

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
@kbn/scout 15 16 +1
Unknown metric groups

API count

id before after diff
@kbn/scout 449 450 +1

History

cc @dmlemeshko

kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Jul 18, 2025
## Summary

Adding support of dynamic Kibana config overrides without server
restart, that should help Feature Flags testing in Scout.

https://docs.elastic.dev/kibana-dev-docs/tutorials/feature-flags-service#dynamic-config

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 71f714a)
@kibanamachine
Copy link
Copy Markdown
Contributor

💔 Some backports could not be created

Status Branch Result
8.19 Backport failed because of merge conflicts
9.1

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 228003

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jul 18, 2025
# Backport

This will backport the following commits from `main` to `9.1`:
- [[scout] add configs override support
(#228003)](#228003)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2025-07-18T15:03:33Z","message":"[scout]
add configs override support (#228003)\n\n## Summary\n\nAdding support
of dynamic Kibana config overrides without server\nrestart, that should
help Feature Flags testing in
Scout.\n\n\nhttps://docs.elastic.dev/kibana-dev-docs/tutorials/feature-flags-service#dynamic-config\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"71f714a78c51def67ec5e65150be64b5fcbbe521","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[scout]
add configs override
support","number":228003,"url":"https://github.com/elastic/kibana/pull/228003","mergeCommit":{"message":"[scout]
add configs override support (#228003)\n\n## Summary\n\nAdding support
of dynamic Kibana config overrides without server\nrestart, that should
help Feature Flags testing in
Scout.\n\n\nhttps://docs.elastic.dev/kibana-dev-docs/tutorials/feature-flags-service#dynamic-config\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"71f714a78c51def67ec5e65150be64b5fcbbe521"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/228003","number":228003,"mergeCommit":{"message":"[scout]
add configs override support (#228003)\n\n## Summary\n\nAdding support
of dynamic Kibana config overrides without server\nrestart, that should
help Feature Flags testing in
Scout.\n\n\nhttps://docs.elastic.dev/kibana-dev-docs/tutorials/feature-flags-service#dynamic-config\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"71f714a78c51def67ec5e65150be64b5fcbbe521"}}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
Bluefinger pushed a commit to Bluefinger/kibana that referenced this pull request Jul 22, 2025
## Summary

Adding support of dynamic Kibana config overrides without server
restart, that should help Feature Flags testing in Scout.


https://docs.elastic.dev/kibana-dev-docs/tutorials/feature-flags-service#dynamic-config

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
kertal pushed a commit to kertal/kibana that referenced this pull request Jul 25, 2025
## Summary

Adding support of dynamic Kibana config overrides without server
restart, that should help Feature Flags testing in Scout.


https://docs.elastic.dev/kibana-dev-docs/tutorials/feature-flags-service#dynamic-config

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
dmlemeshko added a commit to dmlemeshko/kibana that referenced this pull request Aug 4, 2025
## Summary

Adding support of dynamic Kibana config overrides without server
restart, that should help Feature Flags testing in Scout.

https://docs.elastic.dev/kibana-dev-docs/tutorials/feature-flags-service#dynamic-config

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 71f714a)

# Conflicts:
#	src/platform/packages/shared/kbn-scout/tsconfig.json
@dmlemeshko
Copy link
Copy Markdown
Contributor Author

💚 All backports created successfully

Status Branch Result
8.19

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

dmlemeshko added a commit that referenced this pull request Aug 5, 2025
# Backport

This will backport the following commits from `main` to `8.19`:
- [[scout] add configs override support
(#228003)](#228003)

<!--- Backport version: 10.0.0 -->

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

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2025-07-18T15:03:33Z","message":"[scout]
add configs override support (#228003)\n\n## Summary\n\nAdding support
of dynamic Kibana config overrides without server\nrestart, that should
help Feature Flags testing in
Scout.\n\n\nhttps://docs.elastic.dev/kibana-dev-docs/tutorials/feature-flags-service#dynamic-config\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"71f714a78c51def67ec5e65150be64b5fcbbe521","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[scout]
add configs override
support","number":228003,"url":"https://github.com/elastic/kibana/pull/228003","mergeCommit":{"message":"[scout]
add configs override support (#228003)\n\n## Summary\n\nAdding support
of dynamic Kibana config overrides without server\nrestart, that should
help Feature Flags testing in
Scout.\n\n\nhttps://docs.elastic.dev/kibana-dev-docs/tutorials/feature-flags-service#dynamic-config\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"71f714a78c51def67ec5e65150be64b5fcbbe521"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/228627","number":228627,"state":"MERGED","mergeCommit":{"sha":"121a042ffb88074747e842ea5b1650122eccd34e","message":"[9.1]
[scout] add configs override support (#228003) (#228627)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`9.1`:\n- [[scout] add configs override
support\n(#228003)](https://github.com/elastic/kibana/pull/228003)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Dzmitry Lemechko
<dzmitry.lemechko@elastic.co>"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/228003","number":228003,"mergeCommit":{"message":"[scout]
add configs override support (#228003)\n\n## Summary\n\nAdding support
of dynamic Kibana config overrides without server\nrestart, that should
help Feature Flags testing in
Scout.\n\n\nhttps://docs.elastic.dev/kibana-dev-docs/tutorials/feature-flags-service#dynamic-config\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"71f714a78c51def67ec5e65150be64b5fcbbe521"}}]}]
BACKPORT-->
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 release_note:skip Skip the PR/issue when compiling release notes v8.19.0 v8.19.1 v9.1.0 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants