Integrated: bot: add profile handler

Erik Helin ehelin at openjdk.java.net
Fri May 28 18:18:42 UTC 2021


On Mon, 24 May 2021 13:49:08 GMT, Erik Helin <ehelin at openjdk.org> wrote:

> Hi all,
> 
> please review this patch that adds a "profiling handler" typically listening on the `/profile` path. The profile handler will create a JFR recording that is sent as the reply to the HTTP request. The handler needs to configure a max duration (in seconds) for the recording and and a path to the `.jfc` configuration file. I made sure that only recording is allowed at a time to prevent too many requests to slow down the system too much.
> 
> Testing:
> - [x] Tested locally on Linux x64 with various bots and configurations
> 
> Thanks,
> Erik

This pull request has now been integrated.

Changeset: 92bf2dcc
Author:    Erik Helin <ehelin at openjdk.org>
URL:       https://git.openjdk.java.net/skara/commit/92bf2dcc446fdc1c1c3808e40a49123e0f1e8f94
Stats:     156 lines in 3 files changed: 155 ins; 0 del; 1 mod

bot: add profile handler

Reviewed-by: erikj

-------------

PR: https://git.openjdk.java.net/skara/pull/1164


More information about the skara-dev mailing list