Add LLMObs integration tests for Java OpenAI SDK#6364
Draft
Conversation
Contributor
|
|
335d036 to
5e40f8a
Compare
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🔗 Commit SHA: d26893b | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback! |
5e40f8a to
53695b1
Compare
output_tokens n/a thus not set java uses base64 encoding format instead of float
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Add system tests for LLM Observability integration with the Java OpenAI SDK, covering chat completions, tool calls, responses API, and embedding interactions.
Changes
openai_app) built with Gradle/Javalin that implements OpenAI proxy endpoints fortesting
openai-java.Dockerfileto build and run the Java test app withdd-java-agentdd-apm-test-agentfrom v1.38.0 to v1.42.0/evp_proxy/v4endpoint inllmobs_requests(); add gzip decompression and MessagePackdecoding for Java tracer payloads
Workflow
🚀 Once your PR is reviewed and the CI green, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist
tests/ormanifests/is modified ? I have the approval from R&P teambuild-XXX-imagelabel is present