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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for Java