Enabling multiple profiling event when using JFR
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 54/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- java
- Área
- observability
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Java
- Estrellas
- 125
- Forks
- 48
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de grafana/pyroscope-java
-
Clean up dead publishing repository config and credentials in subproject build filesPosiblemente ocupada @arnabnandy7 la tomó hace 21 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
grafana/pyroscope-java#294 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
grafana/pyroscope-java#368 · 1 comentario ·
-
improve asprof extractionAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
grafana/pyroscope-java#283 ·
-
libasyncProfiler-linux-x64.so dump in /tmpQuizá libre de nuevo @korniltsev-grafanista la tomó hace 259 días y no hay ningún pull request abierto. Abierto
grafana/pyroscope-java#250 · 1 comentario · 1 asignado ·
-
Propagating Pyroscope labels to async worker threads in JavaPosiblemente ocupada @mouhamadalmounayar la tomó hace 272 días. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
grafana/pyroscope-java#237 · 2 comentarios ·
Todos los issues de grafana/pyroscope-java
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
quelea-projection/Quelea#711 ·
-
bug pdd
Dificultad 2/5 Menos de una hora Aptitud para principiantes 67/100
objectionary/eo#9450 ·
Los mantenedores suelen responder en 1 día
-
[EC2] DescribeAvailabilityZones should return real AWS error for unknown zone namePosiblemente ocupada @omatheusmesmo la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
area: core good first issue type: enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ShaftHQ/SHAFT_ENGINE#6909 ·
Los mantenedores suelen responder en 1 día