-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[APM] Add index.fast_refresh to .apm-custom-link
#159674
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
9999d1a
to
b324347
Compare
}) { | ||
return client.indices.create({ | ||
return await client.indices.create({ |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
Pinging @elastic/apm-ui (Team:APM) |
There was a problem hiding this 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
x-pack/plugins/apm/server/routes/settings/custom_link/create_custom_link_index.ts
Show resolved
Hide resolved
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Public APIs missing comments
Async chunks
Unknown metric groupsAPI count
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
This reverts commit efdc760.
Reverts #159674 The Elasticsearch team has changed their guidance about `fast_refresh` and want this setting to be applied from within an Elasticsearch plugin
…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
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)