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

[APM] Add index.fast_refresh to .apm-custom-link #159674

Merged
merged 10 commits into from
Jul 14, 2023

Conversation

sorenlouv
Copy link
Member

@sorenlouv sorenlouv commented Jun 14, 2023

Closes: #155330

Adds index.fast_refresh to .apm-custom-link in order to ensure fast index refreshes on serverless (1 second periodic refreshes instead of 5 second which is the new default on serverless).

This is pending on Elasticsearch adding support for index.fast_refresh (elastic/elasticsearch#96660)

@apmmachine
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@sorenlouv sorenlouv mentioned this pull request Jun 14, 2023
2 tasks
@sorenlouv sorenlouv added the release_note:skip Skip the PR/issue when compiling release notes label Jun 14, 2023
@MiriamAparicio MiriamAparicio marked this pull request as ready for review July 12, 2023 05:23
@MiriamAparicio MiriamAparicio requested review from a team as code owners July 12, 2023 05:23
}) {
return client.indices.create({
return await client.indices.create({
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need to await here instead of just passing the promise?

Copy link
Member

Choose a reason for hiding this comment

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

Not sure if that was the intention here, but awaiting a promise inside of a function can be useful for debugging, as it ensures the function shows up in the stacktrace. Here's some explanation: goldbergyoni/nodebestpractices#737

@botelastic botelastic bot added the Team:APM All issues that need APM UI Team support label Jul 12, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:APM)

Copy link
Member

@legrego legrego left a comment

Choose a reason for hiding this comment

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

Changes to test/plugin_functional/test_suites/core_plugins/rendering.ts LGTM

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #50 / alerting api integration security and spaces enabled - Group 2 Alerts legacy alerts alerts "after all" hook in "alerts"
  • [job] [logs] FTR Configs #50 / alerting api integration security and spaces enabled - Group 2 Alerts legacy alerts alerts "before all" hook in "alerts"

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
observability 515 516 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
apm 3.6MB 3.6MB +80.0B
Unknown metric groups

API count

id before after diff
observability 523 524 +1

ESLint disabled line counts

id before after diff
enterpriseSearch 14 16 +2
securitySolution 411 415 +4
total +6

Total ESLint disabled count

id before after diff
enterpriseSearch 15 17 +2
securitySolution 490 494 +4
total +6

History

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

@MiriamAparicio MiriamAparicio merged commit efdc760 into elastic:main Jul 14, 2023
@kibanamachine kibanamachine added v8.10.0 backport:skip This commit does not require backporting labels Jul 14, 2023
@sorenlouv sorenlouv deleted the add-index-fast-refresh branch July 14, 2023 09:38
MiriamAparicio added a commit that referenced this pull request Aug 4, 2023
MiriamAparicio added a commit that referenced this pull request Aug 8, 2023
Reverts #159674

The Elasticsearch team has changed their guidance about `fast_refresh`
and want this setting to be applied from within an Elasticsearch plugin
bryce-b pushed a commit to bryce-b/kibana that referenced this pull request Aug 9, 2023
…163142)

Reverts elastic#159674

The Elasticsearch team has changed their guidance about `fast_refresh`
and want this setting to be applied from within an Elasticsearch plugin
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 release_note:skip Skip the PR/issue when compiling release notes Team:APM All issues that need APM UI Team support v8.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[APM] Handle read-after-write
10 participants