elsa-core/samples/aspnet
Sipke Schoorstra 283824fcfd
Enable Proto Actor Tracing for TraceLens (#5800)
* Add database initialization script and update dependencies

Added a script to initialize the 'tracelens' database and modified the Docker setup to include this script. Refactored and improved the ProtoActorFeature class, added OpenTelemetry dependencies, and updated project settings.

* Enable OpenTelemetry integration for Proto.Actor

Added OpenTelemetry environment configuration details to the README and included the Proto.OpenTelemetry package in the project file. Updated the ProtoActorFeature to apply tracing with OpenTelemetry to WorkflowInstanceActor.

* Refactor VariablePersistenceManager to use primary constructor

This refactor simplifies the VariablePersistenceManager by moving the storageDriverManager initialization into the primary constructor. It removes the redundant field and constructor, aligning with the concise nature of modern C# syntax, and ensures consistency in accessing the storageDriverManager throughout the class.

* Remove unused Open Telemetry code from Program.cs

The code for configuring Open Telemetry was commented out but not removed, cluttering the file. This commit cleans up Program.cs by deleting these unused lines, maintaining a cleaner and more readable codebase.

* Add metrics and tracing configurations for ProtoActorFeature

Introduced methods to enable metrics and tracing in ProtoActorFeature. Removed redundant properties and updated the workflow runtime to utilize the new configurations.

* Add Directory.Build.props for shared project settings

Introduce Directory.Build.props to centralize common project settings and dependencies. Consolidate target framework, language version, and package references to reduce duplication. Remove redundant property definitions from Elsa.Server.Web.csproj.

* Move apps from bundles to apps folder and Elsa module to modules folder
2024-07-19 20:23:32 +02:00
..
Elsa.Samples.AspNet.AzureServiceBusActivities Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.BatchProcessing Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.ChildWorkflows Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.CustomUIHandler Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.DapperPersistence Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.DocumentApproval Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.DslWorkflowProvider Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.DynamicActivityProvider Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.ElasticsearchStorage Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.EntityFrameworkCore.PostgresSql Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.HangfireIntegration Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.Heartbeats Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.HelloWorld Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.HttpEndpoints Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.JsonWorkflowProvider Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.MassTransitActivities Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.MassTransitWorkflow Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.MongoDbPersistence Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.MyBackendApi Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.Onboarding.Web Convert to use Central Package Management 2024-02-04 13:49:54 +02:00
Elsa.Samples.AspNet.Onboarding.WorkflowServer Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.ProtoActorRuntime Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.ProtoActorRuntime.AzureContainerApps Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.QuartzIntegration Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.RunTaskIntegration Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.TelnyxIntegration Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.Tenants Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.Tenants.External Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.Webhooks.ExternalApp Move samples to repository root 2024-02-02 20:01:14 +02:00
Elsa.Samples.AspNet.Webhooks.WorkflowServer Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.WorkflowContexts Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00
Elsa.Samples.AspNet.WorkflowServer Enable Proto Actor Tracing for TraceLens (#5800) 2024-07-19 20:23:32 +02:00