mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 19:13:14 -04:00
[APM] Expose APM event client as part of plugin contract (#82724)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
6110ef82a3
commit
858befef44
3 changed files with 57 additions and 14 deletions
|
@ -88,7 +88,8 @@ export async function setupRequest<TParams extends SetupRequestParams>(
|
|||
const coreSetupRequest = {
|
||||
indices,
|
||||
apmEventClient: createApmEventClient({
|
||||
context,
|
||||
esClient: context.core.elasticsearch.legacy.client,
|
||||
debug: context.params.query._debug,
|
||||
request,
|
||||
indices,
|
||||
options: { includeFrozen },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue