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
| Name | Signature | Synopsis |
|---|---|---|
| MeterName | WorkflowTelemetry.MeterName | 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`. |
| ActivitySourceName | WorkflowTelemetry.ActivitySourceName | The source of workflow spans. |
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