elsa-workflows / elsa-core

A .NET workflows library
https://v3.elsaworkflows.io/
MIT License
6.51k stars 1.2k forks source link

[FEAT] Enhance OpenTelemetry with Default Workflow Engine Metrics #5988

Open Sverre-W opened 1 month ago

Sverre-W commented 1 month ago

In #5810, OpenTelemetry support was introduced. It would be valuable to extend this functionality by providing default metrics for the workflow engine, allowing for better observability and performance tracking. The goal of this issue is to gather feedback on which additional metrics the community would like to see included.

Proposed Metrics

Counters

Gauges

Histograms

Community Input

This issue aims to collect suggestions from the community regarding additional metrics that would be useful for tracking the performance and health of the workflow engine.

jdevillard commented 1 month ago

Hello,

I'm currently playing with these counters, what about :

For what I've done , a lot could be inserted in the middleware.