Skip to content

Commit 77b29ca

Browse files
authored
change integration tag to match python (#7128)
1 parent f6e1219 commit 77b29ca

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/dd-trace/src/llmobs/plugins/genai/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const {
1414

1515
class GenAiLLMObsPlugin extends LLMObsPlugin {
1616
static id = 'google-genai'
17-
static integration = 'genai'
17+
static integration = 'google_genai'
1818
static prefix = 'tracing:apm:google:genai:request'
1919

2020
constructor () {

packages/dd-trace/test/llmobs/plugins/google-genai/index.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ describe('Plugin', () => {
6464
output_tokens: MOCK_NUMBER,
6565
total_tokens: MOCK_NUMBER,
6666
},
67-
tags: { ml_app: 'test', integration: 'genai' },
67+
tags: { ml_app: 'test', integration: 'google_genai' },
6868
})
6969
})
7070
})
@@ -110,7 +110,7 @@ describe('Plugin', () => {
110110
output_tokens: MOCK_NUMBER,
111111
total_tokens: MOCK_NUMBER,
112112
},
113-
tags: { ml_app: 'test', integration: 'genai' },
113+
tags: { ml_app: 'test', integration: 'google_genai' },
114114
})
115115
})
116116
})
@@ -133,7 +133,7 @@ describe('Plugin', () => {
133133
modelProvider: 'google',
134134
inputDocuments: [{ text: 'Hello, world!' }],
135135
outputValue: MOCK_STRING,
136-
tags: { ml_app: 'test', integration: 'genai' },
136+
tags: { ml_app: 'test', integration: 'google_genai' },
137137
})
138138
})
139139
})

0 commit comments

Comments
 (0)