-
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 apm_core
plugin and query errors, spans, transactions from separate indices
#21022
Conversation
apm_core
and query errors, spans, transactions from separate indicesapm_core
plugin and query errors, spans, transactions from separate indices
export function apmSpecProvider(server) { | ||
const config = server.config(); | ||
const apmIndexPattern = getIndexPatternTitle(config); | ||
const apmIndexPattern = config.get('apm_core.indexPattern'); |
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.
@nreese Any objections to this change?
src/core_plugins/apm_core/index.js
Outdated
}).default(); | ||
}, | ||
}); | ||
} |
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.
@epixa Created a new apm_core
plugin with config vars. Looks ok?
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.
Seems fine to me at a glance!
Pinging @elastic/apm-ui |
💔 Build Failed |
retest |
💔 Build Failed |
retest |
9f61da1
to
13bb7f1
Compare
@sqren The tests are failing because Kibana CI is currently broken. Elasticsearch merged a change that broke some function tests. There is PR in place to fix CI |
@nreese That explains the (unusually) grumpy CI. Thanks for letting me know! |
💔 Build Failed |
💔 Build Failed |
d06137b
to
91ae2a0
Compare
91ae2a0
to
9a0578c
Compare
💚 Build Succeeded |
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.
lgtm
code review
💚 Build Succeeded |
…m separate indices (elastic#21022) * [APM] Change index pattern * WIP: change how indicies are queried in APM * Create apm_core plugin * Update config keys from `xpack.apm` to `apm_core` * Revert tutorial formatting changes * Rename to apm_oss
Some of APM's config vars need to be available for other plugins (eg. Getting Started) even if APM UI is not available (like in Kibana OSS).
This PR adds a new
apm_core
plugin which contains the needed config vars, and is in OSS so should always be available for other plugins.APM in xpack and Getting Started plugin have been updated to use the config vars from
apm_core
instead ofxpack.apm
.Closes #20878
Closes #20978