Skip to content

Commit 1d3aee9

Browse files
jbachorikclaude
andcommitted
feat(profiling): Implement OtlpProfileUploader for OTLP format uploads
- Add OtlpProfileUploader class implementing RecordingDataListener - Read configuration from ConfigProvider for testability - Support GZIP compression (configurable via boolean flag) - Use JfrToOtlpConverter to transform JFR recordings to OTLP format - Derive OTLP endpoint from agent URL (port 4318, /v1/profiles) - Handle both synchronous and asynchronous uploads - Use TempLocationManager for temp file creation - Add profiling-otel dependency to profiling-uploader module - Add basic unit tests for OtlpProfileUploader Configuration options: - profiling.otlp.enabled (default: false) - profiling.otlp.url (default: derived from agent URL) - profiling.otlp.compression.enabled (default: true) - profiling.otlp.include.original.payload (default: false) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 6588b97 commit 1d3aee9

File tree

4 files changed

+571
-2
lines changed

4 files changed

+571
-2
lines changed

dd-java-agent/agent-profiling/profiling-uploader/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ dependencies {
2828
implementation project(':utils:version-utils')
2929

3030
implementation project(':dd-java-agent:agent-profiling:profiling-controller')
31+
implementation project(':dd-java-agent:agent-profiling:profiling-otel')
3132

3233
implementation libs.okhttp
3334
implementation libs.lz4

0 commit comments

Comments
 (0)