Observability Guide
2. OpenTelemetry Integration
FlowForge has native support for OpenTelemetry (OTel). When enabled, your workflows contribute to distributed traces.
Configuration (Spring Boot)
flowforge:
tracing:
opentelemetry:
enabled: true
What gets captured?
- Workflow Span: A parent span representing the total execution time.
- Task Spans: Child spans for each task.
- Dependency Links: When a task depends on another, FlowForge adds a Span Link. This allows visualization tools (like Jaeger or Honeycomb) to reconstruct the DAG accurately, even with parallel branches.
Span Attributes
Each span is enriched with library-specific attributes:
flowforge.workflow.idflowforge.task.idflowforge.execution.idflowforge.task.input.typeflowforge.task.output.typeflowforge.task.status(SUCCESS, ERROR, SKIPPED)