Skip to content

Phoenix tracing broken, only "workflow" chain arrived #26294

@Graf2242

Description

@Graf2242

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.9.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. Create any workflow
  2. Set up phoenix monitoring for this workflow
  3. Run workflow

Also, here is worker logs:

2025-09-25 15:17:28.686 ERROR [Dummy-12] [arize_phoenix_trace.py:154] - [Arize/Phoenix] Error in the trace: 'str' object has no attribute 'created_at'
Traceback (most recent call last):
  File "/app/api/core/ops/arize_phoenix_trace/arize_phoenix_trace.py", line 139, in trace
    self.workflow_trace(trace_info)
  File "/app/api/core/ops/arize_phoenix_trace/arize_phoenix_trace.py", line 195, in workflow_trace
    created_at = node_execution.created_at or datetime.now()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'created_at'
2025-09-25 15:17:28.690 INFO [Dummy-12] [ops_trace_task.py:50] - error:
'str' object has no attribute 'created_at'

Also, here is what i see in Phoenix

Image Image

✔️ Expected Behavior

I got whole detailed trace in Phoenix

And how it look with Dify 1.8.0
Image

❌ Actual Behavior

I got only "root" Workflow trace, but no any node traces

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions