Commit 1d3aee9
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- dd-java-agent/agent-profiling/profiling-uploader
- src
- main/java/com/datadog/profiling/uploader
- test/java/com/datadog/profiling/uploader
- dd-trace-api/src/main/java/datadog/trace/api/config
4 files changed
+571
-2
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
0 commit comments