Skip to content

[APM] Plugin & request context and query setup #51257

@dgieselaar

Description

@dgieselaar

In #49455, we've moved closer to the new platform, and made some changes to how requests are handled. Request handlers now get executed with the KibanaRequest object, the APMRequestContext object (which is an extension of Kibana's RequestContextobject), and the legacyServerobject. After that, most of the endpoints will callsetupRequestwithrequestandcontext(returning aSetup` object), to bootstrap some things, like getting the APM indices

There are several changes in NP that might affect this process:

After this work has been completed we could consider the ramifications of our current abstractions, and see where we could possibly improve things. Right now there's some overlap between APMRequestContext and Setup, and in some cases we have to pass both objects around.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Team:APM - DEPRECATEDUse Team:obs-ux-infra_services.discusstechnical debtImprovement of the software architecture and operational architecture

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions