Open tsullivan opened 3 years ago
Pinging @elastic/kibana-app-services (Team:AppServices)
Pinging @elastic/kibana-reporting-services (Team:Reporting Services)
This should depend on https://github.com/elastic/kibana/issues/29281. The documentation should give examples of bad performance vs good performance. The examples will be illustrated with results that the user can find in the new Monitoring of Reporting area
Closing this, no one is asking for it
Reopening to help with https://github.com/elastic/kibana/issues/147914
Pinging @elastic/appex-sharedux (Team:SharedUX)
I have rewritten this issue to make it less broad, and focus on how to monitor reporting.
Report jobs are queued in an Elasticsearch so they are executed one at a time. If there are other reports in the queue when a new report is requested, it will have to wait until the other jobs process.
What can we do to improve report generation time?
xpack.screenshotting.hostName
setting, and if you have a "basePath," make sure you have server.rewriteBasePath: true
What to monitor? What logs do we need?
More advice:
Use Metricbeat to view the memory consumption of all the processes on the server.
Enable verbose logs for Reporting to understand the steps that happen from requesting a report and completing the report, and how much time each of those steps takes:
logging:
loggers:
- name: plugins.reporting
appenders: [console]
level: debug
- name: plugins.screenshotting
appenders: [console]
level: debug
Using Filebeat, you can ingest the logs from above and find ECS-compliant logs with data about the Reporting queue and Screenshotting performance.
Report jobs are queued in an Elasticsearch so they are executed one at a time. If there are other reports in the queue when a new report is requested, it will have to wait until the other jobs process.
What to monitor? What logs do we need?
Monitoring Reporting:
Use Metricbeat to view the memory consumption of all the processes on the server.
Enable verbose logs for Reporting to understand the steps that happen from requesting a report and completing the report, and how much time each of those steps takes:
Using Filebeat, you can ingest the logs from above and find ECS-compliant logs with data about the Reporting queue and Screenshotting performance.