Skip to content
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

Propagate execution context from Canvas #126797

Closed
lizozom opened this issue Mar 3, 2022 · 2 comments
Closed

Propagate execution context from Canvas #126797

lizozom opened this issue Mar 3, 2022 · 2 comments
Labels
Feature:Canvas impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:large Large Level of Effort Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@lizozom
Copy link
Contributor

lizozom commented Mar 3, 2022

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
  • See the testing instructions to make sure data is sent properly to APM.
@botelastic botelastic bot added the needs-team Issues missing a team label label Mar 3, 2022
@lizozom lizozom added the Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas label Mar 3, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Mar 3, 2022
@lizozom lizozom changed the title Canvas Propagate execution context from Canvas Mar 3, 2022
@cqliu1 cqliu1 added loe:large Large Level of Effort impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. labels Mar 9, 2023
@nickpeihl
Copy link
Member

We are grooming our backlog to narrow in on items that we have prioritized, and we are currently not prioritizing execution context in Canvas. If our priorities change, we can reopen.

@nickpeihl nickpeihl closed this as not planned Won't fix, can't repro, duplicate, stale Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Canvas impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:large Large Level of Effort Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
Development

No branches or pull requests

5 participants