-
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] Don't read APM index names directly from config #49620
Comments
Pinging @elastic/apm-ui (Team:apm) |
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui) |
@elastic/apm-ui hey thanks for this heads up! I'm trying to use this in our NP shim layer now, where we will no longer have access to the |
@jasonrhodes After #49455 lands, |
@dgieselaar I think the right solution will be for APM to return "getIndices" from its |
I'm going to shim that method in a fake APM plugin for now, to get it working, and we can hammer out the details. :D |
Also once #49994 merges, the |
Labelling as blocked since #49455 is blocked. |
I've removed the |
I'm not 100% sure whether we can fix the tutorial. It's all synchronous stuff over there. I mean, we can fix it by changing all the |
Yeah, I'm okay calling it an edge case. Additionally the tutorials might be revamped in the not so distant future so might be wasted work if we do it now. |
I'd like to scope this ticket to exposing an |
@dgieselaar SGTM 👍 |
Closing in favor of #50224 (comment). |
In #48079 APM added support for overriding index names defined in kibana.yml via the UI. This means that reading a config value directly from the config might give a stale result, since it's being overridden by the UI settings.
Instead of reading directly from the config file one should read both from the config file and the UI settings and merge the result. Fortunately this is already taken care of by
getApmIndices
.Example:
apm_oss.transactionIndices
Instead of getting
apm_oss.transactionIndices
viaconfig.get('apm_oss.transactionIndices')
one should instead get it like:Fix in
The text was updated successfully, but these errors were encountered: