public class OpenTelemetryOperations extends Object
| Constructor and Description |
|---|
OpenTelemetryOperations() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomTags(OpenTelemetryConnection openTelemetryConnection,
Map<String,String> tags,
org.mule.runtime.extension.api.runtime.parameter.CorrelationInfo correlationInfo)
Add custom tags to an ongoing trace transaction.
|
Map<String,String> |
getTraceContext(OpenTelemetryConnection openTelemetryConnection,
org.mule.runtime.extension.api.runtime.parameter.CorrelationInfo correlationInfo) |
@DisplayName(value="Get Trace Context") @Alias(value="get-trace-context") public Map<String,String> getTraceContext(@Connection OpenTelemetryConnection openTelemetryConnection, org.mule.runtime.extension.api.runtime.parameter.CorrelationInfo correlationInfo)
@DisplayName(value="Add Custom Tags")
public void addCustomTags(@Connection
OpenTelemetryConnection openTelemetryConnection,
Map<String,String> tags,
org.mule.runtime.extension.api.runtime.parameter.CorrelationInfo correlationInfo)
openTelemetryConnection - OpenTelemetryConnection provided by the SDKtags - Map of String Keys and String Values
containing the tags. Behavior of null values in the map is
undefined and not recommended.correlationInfo - CorrelationInfo from the runtimeCopyright © 2022 AVIO Consulting. All rights reserved.