TracingLink Class
- java.
lang. Object - com.
azure. core. util. tracing. TracingLink
- com.
public class TracingLink
Represents tracing link that connects one trace to another.
Constructor Summary
Constructor | Description |
---|---|
TracingLink(Context context) |
Creates link traces without attributes |
TracingLink(Context context, Map<String,Object> attributes) |
Creates link with attributes. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAttributes()
Gets link attributes |
Context |
getContext()
Gets linked context |
Methods inherited from java.lang.Object
Constructor Details
TracingLink
public TracingLink(Context context)
Creates link traces without attributes
Parameters:
context
- instance of context that contains span context
TracingLink
public TracingLink(Context context, Map
Creates link with attributes.
Parameters:
context
- instance of context that contains span context
attributes
- instance of link attributes
Method Details
getAttributes
public Map
Gets link attributes
Returns:
attributes instance
getContext
public Context getContext()
Gets linked context
Returns:
context instance
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for