8000 Llmobs java sdk integration by gary-huang · Pull Request #8966 · DataDog/dd-trace-java · GitHub
[go: up one dir, main page]

Skip to content

Llmobs java sdk integration #8966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 38 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
5134311
add APIs for llm obs
gary-huang Sep 19, 2024
b5c7a0a
add llm message class to support llm spans
gary-huang Mar 6, 2025
7f8f586
add llm message class to support llm spans
gary-huang Mar 6, 2025
9206dbe
impl llmobs agent and llmobs apis
gary-huang Jan 27, 2025
f5efd26
support llm messages with tool calls
gary-huang Mar 6, 2025
76740e9
handle default model name and provider
gary-huang Mar 26, 2025
5e66a2f
rm unneeded file
gary-huang Apr 11, 2025
75290af
impl llmobs agent and llmobs apis
gary-huang Jan 27, 2025
7b2db7c
impl llmobs agent
gary-huang Jan 27, 2025
8000
d76c94d
working writer
gary-huang Feb 7, 2025
e0b4510
add support for llm message and tool calls
gary-huang Mar 6, 2025
87cdaf1
impl llmobs agent and llmobs apis
gary-huang Jan 27, 2025
f78b2c5
use new ctx api to track parent span
gary-huang Apr 1, 2025
5fc9069
add api for evals
gary-huang Mar 5, 2025
a74e456
working impl supporting both agentless and agent
gary-huang Mar 6, 2025
19d95d7
handle null tags and default to default ml app if null or empty strin…
gary-huang Apr 21, 2025
f1481ac
spotless
gary-huang Apr 23, 2025
de0d5a5
spotless
gary-huang Apr 23, 2025
82b8418
add APIs for llm obs sdk (#8135)
gary-huang May 7, 2025
f1d9d17
Merge branch 'gary/llmobs-sdk-merge' into gary/impl-llm-obs-api
gary-huang May 7, 2025
0a790c3
rename ID to Id according to java naming conventions
gary-huang May 7, 2025
d68665d
Merge branch 'gary/impl-llm-obs-api' into gary/add-llm-obs-writer
gary-huang May 7, 2025
0d77da2
Merge branch 'master' into gary/impl-llm-obs-api
gary-huang May 14, 2025
c1c38e4
Undo change to integrations-core submodule
gary-huang May 14, 2025
2be1b73
add APIs for llm obs sdk (#8135)
gary-huang May 7, 2025
d01034a
fix build gradle
gary-huang May 14, 2025
7a74cf6
Merge branch 'gary/llmobs-sdk-merge' into gary/impl-llm-obs-api
gary-huang May 14, 2025
23d6923
rm empty line
gary-huang May 14, 2025
9ac1ab7
fix test
gary-huang May 14, 2025
e382f22
wip add test
gary-huang May 14, 2025
613e6c2
Merge branch 'gary/impl-llm-obs-api' into gary/add-llm-obs-writer
gary-huang May 14, 2025
77291d8
implement LLM Obs SDK spans APIs (#8390)
gary-huang Jun 4, 2025
4739666
use proper convention like Id instead of ID
gary-huang Jun 11, 2025
993cdbe
Merge branch 'master' into gary/llmobs-sdk-merge
gary-huang Jun 11, 2025
20d2760
Merge branch 'gary/add-llm-obs-writer' into gary/llmobs-java-sdk-inte…
gary-huang Jun 11, 2025
8a9d17d
Merge branch 'gary/use-ctx-api' into gary/llmobs-java-sdk-integration
gary-huang Jun 11, 2025
8659686
Merge branch 'gary/submit-evals-2' into gary/llmobs-java-sdk-integration
gary-huang Jun 11, 2025
c8fd1e8
Merge branch 'master' into llmobs-java-sdk-integration
gary-huang Jun 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
spotless
  • Loading branch information
gary-huang committed Apr 23, 2025
commit f1481acf7380bf3657a1a825567aaee1b6616bd9
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,15 @@ public static void start(Instrumentation inst, SharedCommunicationObjects sco) {
sco.createRemaining(config);

LLMObsInternal.setLLMObsSpanFactory(
new LLMObsManualSpanFactory(
config.getLlmObsMlApp(), config.getServiceName()));
new LLMObsManualSpanFactory(config.getLlmObsMlApp(), config.getServiceName()));
}

private static class LLMObsManualSpanFactory implements LLMObs.LLMObsSpanFactory {

private final String serviceName;
private final String defaultMLApp;

public LLMObsManualSpanFactory(
String defaultMLApp, String serviceName) {
public LLMObsManualSpanFactory(String defaultMLApp, String serviceName) {
this.defaultMLApp = defaultMLApp;
this.serviceName = serviceName;
}
Expand Down
0