We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5266254 commit 76d8898Copy full SHA for 76d8898
1 file changed
dd-trace-core/src/main/java/datadog/trace/core/DDSpanContext.java
@@ -1187,7 +1187,7 @@ void processTagsAndBaggage(
1187
TagsPostProcessorFactory.lazyProcessor().processTags(unsafeTags, this, restrictedSpan);
1188
1189
// Links
1190
- if (injectLinksAsTags) {
+ if (injectLinksAsTags || spanLinksAsTag) {
1191
String linksTag = DDSpanLink.toTag(restrictedSpan.getLinks());
1192
if (linksTag != null) {
1193
unsafeTags.set(SPAN_LINKS, linksTag);
0 commit comments