Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Deprecate the StringTag.set() overload taking a StringTag. #262

Merged
Merged
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ public void set(Span span, String tagValue) {
span.setTag(super.key, tagValue);
}

/**
* @deprecated as using the tag *key* as tag value is not usually required.
*/
@Deprecated
public void set(Span span, StringTag tag) {
span.setTag(super.key, tag.key);
}
Expand Down