We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a7a620 commit bc2ab19Copy full SHA for bc2ab19
2 files changed
exporters/otlp/profiles/build.gradle.kts
@@ -27,4 +27,10 @@ dependencies {
27
testImplementation(project(":exporters:otlp:testing-internal"))
28
testImplementation(project(":exporters:sender:okhttp"))
29
testImplementation("io.grpc:grpc-stub")
30
+
31
+ tasks {
32
+ withType(JavaCompile::class) {
33
+ options.release.set(11)
34
+ }
35
36
}
exporters/otlp/profiles/src/main/java/io/opentelemetry/exporter/otlp/profiles/JfrConverter.java
@@ -0,0 +1,15 @@
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
+}
0 commit comments