You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solutions can now utilize useExecutionContext to make sure all outgoing requests (search, saved objects) are properly traced back to a page and an entity (in ES, APM and Fullstory).
// Application ID and current URL are traced automatically.
useExecutionContext({
page: 'editor'
id: savedVis.id ?? 'new',
});
Call useExecutionContext on the top most react component that renders each page (list, editor, etc).
The page names should be short and consistent (no unique identifiers).
The id field can be used to track the main entity handled by the page (for example the displayed dashboard). Leave it empty if not applicable (For example on a listing page).
If the application code is being rendered within an embeddable or nested elsewhere, make sure to attach child context properly
@lizozom I think we need more information about what you mean by "all outgoing requests". The vast majority of our requests are to custom API endpoints through the core http service. Are these scenarios relevant to the action requested by this issue?
You can see the issue #124996 and it shows of requests that get the context injected.
It inclueds any request using the http or the bsearch service (so that would be all search, bsearch and saved objects calls).
Solutions can now utilize
useExecutionContext
to make sure all outgoing requests (search, saved objects) are properly traced back to a page and an entity (in ES, APM and Fullstory).useExecutionContext
on the top most react component that renders each page (list, editor, etc).page
names should be short and consistent (no unique identifiers).id
field can be used to track the main entity handled by the page (for example the displayed dashboard). Leave it empty if not applicable (For example on a listing page).The text was updated successfully, but these errors were encountered: