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

[Reporting] Capture the screenshot of a page even when Reporting's render timeout happens #57008

Closed
tsullivan opened this issue Feb 6, 2020 · 1 comment · Fixed by #58683
Closed
Assignees
Labels
Feature:Reporting:Framework Reporting issues pertaining to the overall framework needs-team Issues missing a team label

Comments

@tsullivan
Copy link
Member

tsullivan commented Feb 6, 2020

Describe the feature:
Today in Reporting, there are many safeguards in the pipeline of opening the Kibana URL, waiting for elements to render, and capturing the page with the browser driver screenshot method. These safeguards ensure that a PNG or PDF result doesn't show incorrect or missing information.

Increasingly, the safeguard methods have made it hard to troubleshoot problems that happen on the page. We should still have a timeout, and log warnings when timeouts happen, but we should still capture the page and deliver it to the user, along with the warnings in context.

The warnings could be shown as an overlay on the page PDF/PNG, and/or they could be shown in text along with the report information in the Reporting Management job listing table.

Describe a specific use case for the feature:

  1. A user has a Kibana server with no outbound network access
  2. They have a dashboard with a Maps visualization which requires network access to load
  3. In the screenshot capturing pipeline, the Maps can't load assets from the Internet. The "render complete" event never fires for the Maps visualization.
  4. The screenshot capture pipeline hits the timeout, but instead of failing the job, it captures what is on the page and overlays warnings about something that didn't complete fully.
  5. The user can troubleshoot their setup based on what they see in the incomplete PDF/PNG.
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-reporting-services (Team:Reporting Services)

@tsullivan tsullivan changed the title [Reporting] Capture the screenshot of a page as a fallback when the render timeout hits [Reporting] Capture the screenshot of a page even when Reporting's render timeout happens Feb 6, 2020
@tsullivan tsullivan self-assigned this Feb 6, 2020
@sophiec20 sophiec20 added Feature:Reporting:Framework Reporting issues pertaining to the overall framework and removed (Deprecated) Team:Reporting Services labels Aug 21, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Reporting:Framework Reporting issues pertaining to the overall framework needs-team Issues missing a team label
Projects
None yet
3 participants