forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Screenshotting] instrument for benchmark tests using new EventLogger…
… class (elastic#130356) * use an EventLogger throughout a screenshotting flow * unique id for each pipeline flow * fix open_url logging * add comments * add unit test * fix getTimeRangeEnd * improve logging of thrown errors * log the number of pixels using zoom * use elementPositionAndAttributes for logging * fix tests * replace multiple methods for logging spans with single log method * fix test * fix sessionId not showing in error logs * prettify message * more logging improvements * add specific error logging around get screenshots * function level comments * error handling around getting render errors * ensure original logger.error always still called * fix error logs not having the right logging context * more error logging around pdfMaker * more error logging around re-position elements * fix test * fix error re-throw after logging * use apm to capture the error * simplify eventLogger api * single startTransaction method * shortcut methods for screenshot/pdf event log Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
- Loading branch information
1 parent
a6f7c46
commit fadd817
Showing
27 changed files
with
914 additions
and
296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 0 additions & 52 deletions
52
x-pack/plugins/screenshotting/server/formats/pdf/pdf_maker/tracker.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
x-pack/plugins/screenshotting/server/screenshots/__snapshots__/index.test.ts.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.