elsa-core/src/modules/Elsa.Workflows.Core
Sipke Schoorstra 70b8582b23
Add OpenTelemetry module (#5810)
* Add OpenTelemetry integration for workflow tracing

Introduced a new module, Elsa.OpenTelemetry, to provide OpenTelemetry sources for tracing workflow and activity execution. Updated various components and pipeline extensions to support OpenTelemetry tracing throughout the workflow execution process.

* Refactor workflow execution pipelines

Deleted `WorkflowsFeatureExtensions` and migrated methods to `PipelineWorkflowsFeatureExtensions` with added configurability. Enhanced `ActivityExecutionMiddlewareExtensions` and `ActivityExecutionPipelinePipelineBuilder` to support middleware insertion. Added comprehensive tracing to `OpenTelemetryTracingWorkflowExecutionMiddleware`.

* Add OpenTelemetry tracing to activity execution

Introduced `OpenTelemetryTracingActivityExecutionMiddleware` to capture tracing information for activity execution within workflows. This middleware logs activity execution start and end events, attaching pertinent activity tags. Added extension method to register this middleware in the workflow execution pipeline.

* Set `PYTHONNET_PYDLL` consistently and update workflow pipelines

Update Dockerfiles to set the `PYTHONNET_PYDLL` environment variable consistently without spaces. Additionally, refactor `Program.cs` to streamline workflow and activity execution pipeline configurations by using the `WithDefaultWorkflowExecutionPipeline` and `WithDefaultActivityExecutionPipeline` methods.

* Enhance OpenTelemetry Tracing Middleware Implementation

Add missing activity tags and events to improve telemetry data. Simplify middleware installation syntax for both workflow and activity execution tracing pipelines, ensuring consistent and clear tracing across modules.
2024-07-22 14:36:33 +02:00
..
Abstractions Flowchart variables are not serialized by FlowchartJsonConverter (#5533) 2024-06-15 18:39:05 +02:00
ActivationValidators Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
Activities Add Bookmark Queue and Restore Background Activity Execution (#5758) 2024-07-15 22:37:14 +02:00
Attributes Refactor Workflow Runtimes (#5444) 2024-06-10 19:36:51 +02:00
Behaviors Refactor Workflow Runtimes (#5444) 2024-06-10 19:36:51 +02:00
Builders Add Bookmark Queue and Restore Background Activity Execution (#5758) 2024-07-15 22:37:14 +02:00
Constants Add Fault Code, Category and Type (#5362) 2024-05-10 15:30:32 +02:00
Contexts Add Bookmark Queue and Restore Background Activity Execution (#5758) 2024-07-15 22:37:14 +02:00
Contracts Add OpenTelemetry module (#5810) 2024-07-22 14:36:33 +02:00
Enums Refactor Workflow Runtimes (#5444) 2024-06-10 19:36:51 +02:00
Exceptions Fix Sonar maintainability issues 2024-06-07 14:01:14 +02:00
Expressions Refactor Workflow Runtimes (#5444) 2024-06-10 19:36:51 +02:00
Extensions Add Bookmark Queue and Restore Background Activity Execution (#5758) 2024-07-15 22:37:14 +02:00
Features Add Bookmark Queue and Restore Background Activity Execution (#5758) 2024-07-15 22:37:14 +02:00
Helpers Refactor Workflow Runtimes (#5444) 2024-06-10 19:36:51 +02:00
IncidentStrategies Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
Memory Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
Middleware Add Bookmark Queue and Restore Background Activity Execution (#5758) 2024-07-15 22:37:14 +02:00
Models Add Bookmark Queue and Restore Background Activity Execution (#5758) 2024-07-15 22:37:14 +02:00
Notifications Alterations with Queries (#5032) 2024-03-13 20:34:46 +01:00
Options Add Bookmark Queue and Restore Background Activity Execution (#5758) 2024-07-15 22:37:14 +02:00
Pipelines Add OpenTelemetry module (#5810) 2024-07-22 14:36:33 +02:00
PortResolvers Lazy loading of subgraphs (#5643) 2024-06-25 09:21:50 +02:00
Serialization Add Bookmark Queue and Restore Background Activity Execution (#5758) 2024-07-15 22:37:14 +02:00
Services Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Signals Refactor Workflow Runtimes (#5444) 2024-06-10 19:36:51 +02:00
State Refactor Workflow Runtimes (#5444) 2024-06-10 19:36:51 +02:00
UIHints #5313 Include dropdown when using a nullable enum in an activity input (#5320) 2024-05-08 20:16:43 +02:00
Elsa.Workflows.Core.csproj #5106 Cleanup packages to leverage framework (#5129) 2024-03-29 09:54:44 +01:00
Elsa.Workflows.Core.csproj.DotSettings Add Bookmark Queue and Restore Background Activity Execution (#5758) 2024-07-15 22:37:14 +02:00
FodyWeavers.xml Prepare projects for packaging 2022-11-03 21:40:23 +01:00
IsExternalInit.cs