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
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for Java