Skip to content

Commit e100df7

Browse files
Rename tag name to tags
1 parent 301c926 commit e100df7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dd-java-agent/agent-aiguard/src/main/java/com/datadog/aiguard/AIGuardInternal.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ public Evaluation evaluate(final List<Message> messages, final Options options)
232232
}
233233
if (tags != null) {
234234
for (final String tag : tags) {
235-
span.setTag("ai_guard.tag." + tag, true);
235+
span.setTag("ai_guard.tags." + tag, true);
236236
}
237237
}
238238
final boolean shouldBlock =

dd-java-agent/agent-aiguard/src/test/groovy/com/datadog/aiguard/AIGuardInternalTests.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ class AIGuardInternalTests extends DDSpecification {
195195
}
196196
if (suite.tags) {
197197
suite.tags.each {
198-
1 * span.setTag("ai_guard.tag.${it}", true)
198+
1 * span.setTag("ai_guard.tags.${it}", true)
199199
}
200200
}
201201

0 commit comments

Comments
 (0)