WorkflowTelemetryType

PackageFCQRS.Workflows
The names to register with a telemetry pipeline, for example OpenTelemetry's `tracing.AddSource(WorkflowTelemetry.ActivitySourceName)` and `metrics.AddMeter(WorkflowTelemetry.MeterName)`. A workflow logs through the `ILoggerFactory` given to the actor system: its progress in the `Telemetry.MessageFlowCategory` category at Information, and failed steps, faulted workflows, and parked instances in the `FCQRS.Workflows` category.

Specification

Kind
Type
Members
2
Examples
0
MeterNameSignature
WorkflowTelemetry.MeterName
ActivitySourceNameSignature
WorkflowTelemetry.ActivitySourceName

Summary

NameSignatureSynopsis
MeterNameWorkflowTelemetry.MeterNameThe meter of the workflow instruments: `fcqrs.workflow.started`, `.finished`, `.faulted`, `.cancelled` (counters), `fcqrs.workflow.running`, `.parked` (instances in memory in that state), `fcqrs.workflow.step.duration` (milliseconds from a step's stored start to its end), `fcqrs.workflow.activity.retries` (attempts that failed and were retried), `fcqrs.workflow.recovery.duration` (milliseconds) and `fcqrs.workflow.recovery.records`.
ActivitySourceNameWorkflowTelemetry.ActivitySourceNameThe source of workflow spans.

MeterName

WorkflowTelemetry.MeterName
Member
The meter of the workflow instruments: `fcqrs.workflow.started`, `.finished`, `.faulted`, `.cancelled` (counters), `fcqrs.workflow.running`, `.parked` (instances in memory in that state), `fcqrs.workflow.step.duration` (milliseconds from a step's stored start to its end), `fcqrs.workflow.activity.retries` (attempts that failed and were retried), `fcqrs.workflow.recovery.duration` (milliseconds) and `fcqrs.workflow.recovery.records`.

Returns

string

ActivitySourceName

WorkflowTelemetry.ActivitySourceName
Member
The source of workflow spans. It is also in `Telemetry.AllActivitySources`.

Returns

string