| Modifier and Type | Method and Description |
|---|---|
TraceComponent |
ProcessorComponent.getEndTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification)
Build a
TraceComponent for end of a flow-like container or a message
processor. |
default TraceComponent |
ProcessorComponent.getSourceEndTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification,
TraceContextHandler traceContextHandler)
For flows with a source component, this method can allow processor components
to build source specific traces.
|
default TraceComponent |
ProcessorComponent.getSourceStartTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification,
TraceContextHandler traceContextHandler)
If a message processor has a source variation, then this implementation can
do more processing of a component.
|
TraceComponent |
ProcessorComponent.getStartTraceComponent(org.mule.runtime.api.component.Component component,
org.mule.runtime.api.event.Event event)
|
TraceComponent |
ProcessorComponent.getStartTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification)
Build a
TraceComponent for start of a flow-like container or a
message processor. |
| Modifier and Type | Method and Description |
|---|---|
SpanMeta |
TransactionStore.addProcessorSpan(String containerName,
TraceComponent traceComponent,
io.opentelemetry.api.trace.SpanBuilder spanBuilder)
Add a new processor span under an existing transaction.
|
default SpanMeta |
TransactionStore.endProcessorSpan(String transactionId,
TraceComponent traceComponent,
Consumer<io.opentelemetry.api.trace.Span> spanUpdater)
End an existing span under an existing transaction.
|
SpanMeta |
TransactionStore.endProcessorSpan(String transactionId,
TraceComponent traceComponent,
Consumer<io.opentelemetry.api.trace.Span> spanUpdater,
Instant endTime)
This overloading allows to end a span at given time.
|
TransactionMeta |
TransactionStore.endTransaction(TraceComponent traceComponent,
Consumer<io.opentelemetry.api.trace.Span> spanUpdater)
End a transaction represented by provided transaction id and rootFlowName, if
exists.
|
void |
TransactionStore.startTransaction(TraceComponent traceComponent,
String rootFlowName,
io.opentelemetry.api.trace.SpanBuilder rootFlowSpan)
Start a new transaction.
|
| Modifier and Type | Method and Description |
|---|---|
static TraceComponent |
TraceComponent.of(org.mule.runtime.api.component.Component component) |
static TraceComponent |
TraceComponent.of(org.mule.runtime.api.component.location.ComponentLocation location) |
static TraceComponent |
TraceComponent.of(String name) |
static TraceComponent |
TraceComponent.of(String name,
org.mule.runtime.api.component.location.ComponentLocation location) |
TraceComponent |
TraceComponent.withComponentLocation(org.mule.runtime.api.component.location.ComponentLocation componentLocation) |
TraceComponent |
TraceComponent.withContext(io.opentelemetry.context.Context val) |
TraceComponent |
TraceComponent.withEndTime(Instant endTime) |
TraceComponent |
TraceComponent.withErrorMessage(String val) |
TraceComponent |
TraceComponent.withEventContextId(String eventContextId) |
TraceComponent |
TraceComponent.withLocation(String val) |
TraceComponent |
TraceComponent.withSpanKind(io.opentelemetry.api.trace.SpanKind val) |
TraceComponent |
TraceComponent.withSpanName(String val) |
TraceComponent |
TraceComponent.withStartTime(Instant startTime) |
TraceComponent |
TraceComponent.withStatsCode(io.opentelemetry.api.trace.StatusCode statusCode) |
TraceComponent |
TraceComponent.withTags(Map<String,String> val) |
TraceComponent |
TraceComponent.withTransactionId(String val) |
| Modifier and Type | Method and Description |
|---|---|
void |
OpenTelemetryConnection.addProcessorSpan(TraceComponent traceComponent,
String containerName)
|
SpanMeta |
OpenTelemetryConnection.endProcessorSpan(TraceComponent traceComponent,
org.mule.runtime.api.message.Error error) |
TransactionMeta |
OpenTelemetryConnection.endTransaction(TraceComponent traceComponent,
Exception exception) |
void |
OpenTelemetryConnection.setSpanStatus(TraceComponent traceComponent,
io.opentelemetry.api.trace.Span span) |
void |
OpenTelemetryConnection.startTransaction(TraceComponent traceComponent) |
| Modifier and Type | Method and Description |
|---|---|
protected TraceComponent |
AbstractProcessorComponent.getBaseTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification) |
TraceComponent |
HttpProcessorComponent.getEndTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification) |
TraceComponent |
AbstractProcessorComponent.getEndTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification) |
TraceComponent |
AnypointMQProcessorComponent.getEndTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification) |
TraceComponent |
WSCProcessorComponent.getEndTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification) |
TraceComponent |
MuleCoreProcessorComponent.getEndTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification) |
TraceComponent |
HttpProcessorComponent.getSourceEndTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification,
TraceContextHandler traceContextHandler) |
TraceComponent |
FlowProcessorComponent.getSourceEndTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification,
TraceContextHandler traceContextHandler) |
TraceComponent |
AnypointMQProcessorComponent.getSourceEndTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification,
TraceContextHandler traceContextHandler) |
TraceComponent |
HttpProcessorComponent.getSourceStartTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification,
TraceContextHandler traceContextHandler) |
TraceComponent |
FlowProcessorComponent.getSourceStartTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification,
TraceContextHandler traceContextHandler) |
TraceComponent |
AnypointMQProcessorComponent.getSourceStartTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification,
TraceContextHandler traceContextHandler) |
TraceComponent |
HttpProcessorComponent.getStartTraceComponent(org.mule.runtime.api.component.Component component,
org.mule.runtime.api.event.Event event) |
TraceComponent |
AbstractProcessorComponent.getStartTraceComponent(org.mule.runtime.api.component.Component component,
org.mule.runtime.api.event.Event event)
Create a start trace component without the notification object.
|
TraceComponent |
AnypointMQProcessorComponent.getStartTraceComponent(org.mule.runtime.api.component.Component component,
org.mule.runtime.api.event.Event event) |
TraceComponent |
FlowProcessorComponent.getStartTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification) |
TraceComponent |
AbstractProcessorComponent.getStartTraceComponent(org.mule.runtime.api.notification.EnrichedServerNotification notification) |
protected TraceComponent |
AbstractProcessorComponent.getTraceComponentBuilderFor(org.mule.runtime.api.notification.EnrichedServerNotification notification) |
| Modifier and Type | Method and Description |
|---|---|
SpanMeta |
FlowSpan.addProcessorSpan(String containerName,
TraceComponent traceComponent,
io.opentelemetry.api.trace.SpanBuilder spanBuilder)
Add a span created from given
SpanBuilder for the processor
identified at the given location String. |
SpanMeta |
InMemoryTransactionStore.addProcessorSpan(String containerName,
TraceComponent traceComponent,
io.opentelemetry.api.trace.SpanBuilder spanBuilder) |
SpanMeta |
InMemoryTransactionStore.endProcessorSpan(String transactionId,
TraceComponent traceComponent,
Consumer<io.opentelemetry.api.trace.Span> spanUpdater,
Instant endTime) |
SpanMeta |
FlowSpan.endProcessorSpan(TraceComponent traceComponent,
Consumer<io.opentelemetry.api.trace.Span> spanUpdater,
Instant endTime) |
TransactionMeta |
InMemoryTransactionStore.endTransaction(TraceComponent traceComponent,
Consumer<io.opentelemetry.api.trace.Span> spanUpdater) |
void |
InMemoryTransactionStore.startTransaction(TraceComponent traceComponent,
String rootFlowName,
io.opentelemetry.api.trace.SpanBuilder rootFlowSpanBuilder) |
| Modifier and Type | Method and Description |
|---|---|
static TraceComponent |
ComponentsUtil.getTraceComponent(org.mule.runtime.api.component.location.ComponentLocation subFlowComp,
TraceComponent traceComponent)
Build a Trace component for sub-flow
|
| Modifier and Type | Method and Description |
|---|---|
static String |
ComponentsUtil.getRouteContainerLocation(TraceComponent traceComponent)
Gets the parent container for router's route.
|
static TraceComponent |
ComponentsUtil.getTraceComponent(org.mule.runtime.api.component.location.ComponentLocation subFlowComp,
TraceComponent traceComponent)
Build a Trace component for sub-flow
|
static boolean |
ComponentsUtil.isFlowTrace(TraceComponent traceComponent) |
static Optional<org.mule.runtime.api.component.location.ComponentLocation> |
ComponentsUtil.resolveFlowName(org.mule.runtime.core.api.el.ExpressionManager expressionManager,
TraceComponent traceComponent,
org.mule.runtime.api.el.BindingContext context,
org.mule.runtime.api.component.location.ConfigurationComponentLocator configurationComponentLocator)
Resolves the target flow name using given #expressionManager and updates it
in
tags. |
Copyright © 2024 AVIO Consulting. All rights reserved.