Skip to content

Open a new APM transaction for every meaningful page instead of every currentAppId$ #114843

Closed

Description

Currently route-change transactions are started everytime the currentAppId$ changes and are closed upon largestContentPaint. This diagram illustrates it - You can see that navigations within the app don't create an APM transaction at all.

image

We want to change the integration in such a way that a new transaction is started every time a page changes. This would require a way of letting apps communicate page changes. @Bamieh mentioned the TrackApplicationView component, but that one may open multiple view contexts one withing the other (for example a flyout within a page can use a TrackApplicationView).

The end result should look something like this (includes changing page-load behavior as described here:

image

Once we have this, we will proceed to track individual events within each transaction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Team:CoreCore services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etcdiscussenhancementNew value added to drive a business resultimpact:lowAddressing this issue will have a low level of impact on the quality/strength of our product.loe:smallSmall Level of Effortperformancev8.0.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions