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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Java