Class FlowOrchestratorInstrumentationExtensions
- Namespace
- FlowOrchestrator.Core.Observability
- Assembly
- FlowOrchestrator.Core.dll
Extension methods for wiring FlowOrchestratorTelemetry into an OpenTelemetry pipeline.
public static class FlowOrchestratorInstrumentationExtensions
- Inheritance
-
FlowOrchestratorInstrumentationExtensions
- Inherited Members
Remarks
Moved from FlowOrchestrator.Hangfire to FlowOrchestrator.Core.Observability in v1.19.
The Hangfire project still exposes a deprecated forwarder for one release; new code should reference
the Core namespace directly so OTel registration does not depend on the Hangfire package.
Methods
AddFlowOrchestratorInstrumentation(MeterProviderBuilder)
Registers the FlowOrchestrator Meter so that run/step counters and duration histograms are captured by the metrics pipeline.
public static MeterProviderBuilder AddFlowOrchestratorInstrumentation(this MeterProviderBuilder builder)
Parameters
builderMeterProviderBuilderThe OpenTelemetry.Metrics.MeterProviderBuilder to configure.
Returns
- MeterProviderBuilder
The same builder for chaining.
AddFlowOrchestratorInstrumentation(TracerProviderBuilder)
Registers the FlowOrchestrator ActivitySource so that flow and step execution spans are captured by the tracing pipeline.
public static TracerProviderBuilder AddFlowOrchestratorInstrumentation(this TracerProviderBuilder builder)
Parameters
builderTracerProviderBuilderThe OpenTelemetry.Trace.TracerProviderBuilder to configure.
Returns
- TracerProviderBuilder
The same builder for chaining.