Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Enabling multiple profiling event when using JFR

オープン
#371 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
54/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java
領域
observability

調査の方向性

Start with agent/src/main/java/io/pyroscope/javaagent/JFRJDKProfilerDelegate.java, especially the profiling-event switch at the linked line, and trace how JFR recordings are configured. Check whether JFR supports combining the requested CPU, allocation, and lock events without chaining recordings. Done means the library can configure multiple profiling events together, if no JFR limitation prevents it.

索引モデルが issue の本文から書いたものです。

説明

Hello,
in our project we are using JFR to profile our applications and we wanted to allow CPU and memory profiling at the same time.
As far as I know it should be possible to do it in JFR but I couldn't find a way to do it with the library.
So that it is clear what I mean with event, I am talking about these

EventType.CPU
EventType.ALLOC
EventType.LOCK

I see that in the class JFRJDKProfilerDelegate.java there is a switch case on the profiling event type, which make it obvious that currently it is not possible to configure this behavior.
Is there any reason or limitation behind this choice that would prevent to simply chain multiple recordings?
We might submit a contribution if there is no blocker to it but we wanted to have some more context before investing time into it.
Thank you in advance.

主要言語
Java
スター
125
フォーク
48
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

grafana/pyroscope-java のほかの issue

grafana/pyroscope-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。