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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java