Package com.azure.core.util.tracing
Class TracingLink
java.lang.Object
com.azure.core.util.tracing.TracingLink
Represents tracing link that connects one trace to another.
-
Constructor Summary
ConstructorDescriptionTracingLink
(Context context) Creates link traces without attributesTracingLink
(Context context, Map<String, Object> attributes) Creates link with attributes. -
Method Summary
Modifier and TypeMethodDescriptionGets link attributesGets linked context
-
Constructor Details
-
TracingLink
Creates link traces without attributes- Parameters:
context
- instance of context that contains span context
-
TracingLink
Creates link with attributes.- Parameters:
context
- instance of context that contains span contextattributes
- instance of link attributes
-
-
Method Details
-
getContext
Gets linked context- Returns:
- context instance
-
getAttributes
Gets link attributes- Returns:
- attributes instance
-