Skip to content

Commit 6743cc4

Browse files
committed
feat(profiling): Initial implementation of JFR->OTLP/P format
1 parent 354c547 commit 6743cc4

File tree

27 files changed

+1384
-11
lines changed

27 files changed

+1384
-11
lines changed

dd-java-agent/agent-profiling/profiling-ddprof/src/main/java/com/datadog/profiling/ddprof/DatadogProfilerRecordingData.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,9 @@ public void release() {
3636
public String getName() {
3737
return "ddprof";
3838
}
39+
40+
@Override
41+
public Path getFile() {
42+
return recordingFile;
43+
}
3944
}

dd-java-agent/agent-profiling/profiling-otel/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ apply(from = "$rootDir/gradle/java.gradle")
77
dependencies {
88
implementation("io.btrace", "jafar-parser", "0.0.1-SNAPSHOT")
99
implementation(project(":internal-api"))
10+
implementation(project(":components:json"))
1011

1112
testImplementation(libs.bundles.junit5)
1213
testImplementation(libs.bundles.jmc)
14+
testImplementation(libs.jmc.flightrecorder.writer)
1315
}

0 commit comments

Comments
 (0)