public class MuleNotificationProcessor extends Object
OpenTelemetryExtensionConfiguration.| Modifier and Type | Field and Description |
|---|---|
static String |
MULE_OTEL_SPAN_PROCESSORS_ENABLE_PROPERTY_NAME |
| Constructor and Description |
|---|
MuleNotificationProcessor(org.mule.runtime.api.component.location.ConfigurationComponentLocator configurationComponentLocator) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptSpannedComponents(String location)
Locations that are intercepted for span creation.
|
void |
addMeteredComponentLocation(String location)
Locations that are intercepted and eligible for capturing metrics.
|
Supplier<OpenTelemetryConnection> |
getConnectionSupplier() |
OpenTelemetryConnection |
getOpenTelemetryConnection() |
ProcessorComponent |
getProcessorComponent(org.mule.runtime.api.component.ComponentIdentifier identifier) |
TraceLevelConfiguration |
getTraceLevelConfiguration() |
void |
handleAsyncScheduledEvent(org.mule.runtime.api.notification.AsyncMessageNotification notification)
Process the
AsyncMessageNotification to capture start of the span. |
void |
handleFlowEndEvent(org.mule.runtime.api.notification.PipelineMessageNotification notification) |
void |
handleFlowStartEvent(org.mule.runtime.api.notification.PipelineMessageNotification notification) |
void |
handleProcessorEndEvent(org.mule.runtime.api.notification.EnrichedServerNotification notification) |
void |
handleProcessorStartEvent(org.mule.runtime.api.notification.MessageProcessorNotification notification) |
boolean |
hasConnection() |
void |
init(OpenTelemetryConnection connection,
TraceLevelConfiguration traceLevelConfiguration) |
public static final String MULE_OTEL_SPAN_PROCESSORS_ENABLE_PROPERTY_NAME
@Inject public MuleNotificationProcessor(org.mule.runtime.api.component.location.ConfigurationComponentLocator configurationComponentLocator)
public void addInterceptSpannedComponents(String location)
location - String value of target processorpublic void addMeteredComponentLocation(String location)
location - String value of target processorpublic boolean hasConnection()
public OpenTelemetryConnection getOpenTelemetryConnection()
public Supplier<OpenTelemetryConnection> getConnectionSupplier()
public TraceLevelConfiguration getTraceLevelConfiguration()
public void init(OpenTelemetryConnection connection, TraceLevelConfiguration traceLevelConfiguration)
public void handleProcessorStartEvent(org.mule.runtime.api.notification.MessageProcessorNotification notification)
public void handleAsyncScheduledEvent(org.mule.runtime.api.notification.AsyncMessageNotification notification)
AsyncMessageNotification to capture start of the span.notification - AsyncMessageNotificationpublic ProcessorComponent getProcessorComponent(org.mule.runtime.api.component.ComponentIdentifier identifier)
public void handleProcessorEndEvent(org.mule.runtime.api.notification.EnrichedServerNotification notification)
public void handleFlowStartEvent(org.mule.runtime.api.notification.PipelineMessageNotification notification)
public void handleFlowEndEvent(org.mule.runtime.api.notification.PipelineMessageNotification notification)
Copyright © 2024 AVIO Consulting. All rights reserved.