File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
src/main/java/io/opentelemetry/exporter/otlp/profiles Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -27,4 +27,10 @@ dependencies {
2727 testImplementation(project(" :exporters:otlp:testing-internal" ))
2828 testImplementation(project(" :exporters:sender:okhttp" ))
2929 testImplementation(" io.grpc:grpc-stub" )
30+
31+ tasks {
32+ withType(JavaCompile ::class ) {
33+ options.release.set(11 )
34+ }
35+ }
3036}
Original file line number Diff line number Diff line change 1+ package io .opentelemetry .exporter .otlp .profiles ;
2+
3+ import jdk .jfr .consumer .RecordingFile ;
4+ import java .io .File ;
5+ import java .io .IOException ;
6+
7+ public class JfrConverter {
8+
9+ public static void main (String [] args ) throws IOException {
10+
11+ File jfrFile = new File (args [0 ]);
12+ RecordingFile recordingFile = new RecordingFile (jfrFile .toPath ());
13+
14+ }
15+ }
You can’t perform that action at this time.
0 commit comments