-
- All Implemented Interfaces:
-
com.datadog.trace.bootstrap.instrumentation.api.AgentSpanLink.Attributes
public class SpanLinkAttributes implements AgentSpanLink.Attributes
This class is a base implementation of AgentSpanLink.Attributes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSpanLinkAttributes.Builder
-
Field Summary
Fields Modifier and Type Field Description public final static AgentSpanLink.AttributesEMPTY
-
Method Summary
Modifier and Type Method Description static SpanLinkAttributes.Builderbuilder()Gets a builder to create span link attributes. static SpanLinkAttributesfromMap(Map<String, String> map)Create span link attributes from its map representation. Map<String, String>asMap()Gets the attributes as an immutable map. booleanisEmpty()Checks whether the attributes are empty. StringtoString()-
-
Method Detail
-
builder
static SpanLinkAttributes.Builder builder()
Gets a builder to create span link attributes.
-
fromMap
static SpanLinkAttributes fromMap(Map<String, String> map)
Create span link attributes from its map representation.
- Parameters:
map- A map representing the span link attributes.
-
isEmpty
boolean isEmpty()
Checks whether the attributes are empty.
-
-
-
-