Deployment operations

Traceability

Full execution traces for debugging and auditing agent behavior

Traceability provides complete visibility into agent and workflow executions, enabling debugging, auditing, and compliance.

What is Traceability?

Every execution in FlowGenX generates a comprehensive trace that captures:

  • Input/Output - Request and response data
  • Decision Path - Agent reasoning and choices
  • Tool Calls - External API invocations
  • Timing - Duration of each step
  • Errors - Failures and exceptions

Trace Components

Execution Trace

The top-level trace for a workflow or agent invocation.

Trace ID: tr_abc123
Status: Completed
Duration: 2.3s
Started: 2024-01-15 10:30:00

Spans

Individual operations within the trace:

  • Agent reasoning spans
  • Tool execution spans
  • LLM call spans
  • Data transformation spans

Events

Point-in-time occurrences:

  • State changes
  • Condition evaluations
  • Error events
  • Custom annotations

Using the Trace Viewer

Accessing Traces

  1. Navigate to Operations > Traces
  2. Filter by time range, status, or agent
  3. Click on a trace to view details

Trace Timeline

Visual representation of execution flow:

  • Waterfall view of spans
  • Parallel execution visibility
  • Critical path highlighting

Span Details

Drill into any span to see:

  • Input parameters
  • Output results
  • Duration breakdown
  • Associated logs

Search and Filter

  • By Trace ID - Direct lookup
  • By Time Range - Filter by execution time
  • By Status - Success, failure, timeout
  • By Agent/Workflow - Filter by resource
  • By User - Filter by initiating user
  • Full-text Search - Search in request/response data

Retention and Export

Retention Policies

Configure how long traces are retained:

  • Development: 7 days
  • Staging: 30 days
  • Production: 90 days (configurable)

Export Options

  • JSON export for analysis
  • Integration with external observability tools
  • Compliance report generation

Best Practices

  1. Add Custom Annotations - Tag important business events
  2. Monitor Error Traces - Set up alerts for failures
  3. Sample High-Volume Traces - Use sampling for cost control
  4. Correlate with Metrics - Link traces to dashboard metrics

Ask AI

FlowGenX Documentation

How can I help you?

Ask me anything about FlowGenX AI - workflows, agents, integrations, and more.

AI responses based on FlowGenX docs