-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split up GC Handlers, add support for Parallel #201
Split up GC Handlers, add support for Parallel #201
Conversation
jfr-streaming/src/main/java/io/opentelemetry/contrib/jfr/metrics/HandlerRegistry.java
Show resolved
Hide resolved
jfr-streaming/src/main/java/io/opentelemetry/contrib/jfr/metrics/HandlerRegistry.java
Outdated
Show resolved
Hide resolved
jfr-streaming/src/main/java/io/opentelemetry/contrib/jfr/metrics/HandlerRegistry.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found a couple of nits that could use Java 17 power 💪
...in/java/io/opentelemetry/contrib/jfr/metrics/internal/memory/ParallelHeapSummaryHandler.java
Outdated
Show resolved
Hide resolved
...in/java/io/opentelemetry/contrib/jfr/metrics/internal/memory/ParallelHeapSummaryHandler.java
Outdated
Show resolved
Hide resolved
jfr-streaming/src/main/java/io/opentelemetry/contrib/jfr/metrics/HandlerRegistry.java
Show resolved
Hide resolved
jfr-streaming/src/main/java/io/opentelemetry/contrib/jfr/metrics/HandlerRegistry.java
Show resolved
Hide resolved
jfr-streaming/src/main/java/io/opentelemetry/contrib/jfr/metrics/HandlerRegistry.java
Show resolved
Hide resolved
...reaming/src/main/java/io/opentelemetry/contrib/jfr/metrics/internal/cpu/LongLockHandler.java
Outdated
Show resolved
Hide resolved
...g/src/main/java/io/opentelemetry/contrib/jfr/metrics/internal/cpu/OverallCPULoadHandler.java
Show resolved
Hide resolved
...src/main/java/io/opentelemetry/contrib/jfr/metrics/internal/memory/G1HeapSummaryHandler.java
Show resolved
Hide resolved
...src/main/java/io/opentelemetry/contrib/jfr/metrics/internal/memory/G1HeapSummaryHandler.java
Outdated
Show resolved
Hide resolved
...src/main/java/io/opentelemetry/contrib/jfr/metrics/internal/memory/G1HeapSummaryHandler.java
Show resolved
Hide resolved
...src/main/java/io/opentelemetry/contrib/jfr/metrics/internal/memory/GCHeapSummaryHandler.java
Outdated
Show resolved
Hide resolved
...in/java/io/opentelemetry/contrib/jfr/metrics/internal/memory/ParallelHeapSummaryHandler.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still some questions about metric types chosen, but as you mention we'll get those refactored in future versions, hopefully with the additional guidance of some more flushed out semantic conventions.
Description:
Break out the GC Handlers into a common one (GCHeapSummary) and separate handlers (e.g. for Young Collections) - one per supported GC. Add support for G1 & Parallel
Testing:
Manual testing to show no regressions.
Documentation:
Outstanding items:
More test coverage would be good. Investigate whether it's possible to add Shenandoah in its current, non-generational version.