Skip to content

Broken Arize observability #11303

@rk-yen

Description

@rk-yen

Bug Description

When launching the latest Langflow desktop app on macos systems, using Arize's default (GRPC exporter) isn't generating traces.

Reproduction

Steps to reproduce:

  1. Download Langflow desktop app (e.g., version 1.7.1) on a mac.
  2. Set Arize environment variables.
  3. Launch app.
  4. Run a flow.

Notice that:

  1. No traces show up in Arize platform.
  2. Error logs in langflow.log:
[2025-12-22][10:44:53][ERROR] [LANGFLOW STDERR] [2025-12-22 10:44:53,014][ERROR] Failed to export traces to [[otlp.arize.com](http://otlp.arize.com/)](http://otlp.arize.com/), error code: StatusCode.DEADLINE_EXCEEDED
[2025-12-22][10:44:56][ERROR] [LANGFLOW STDERR] [2025-12-22 10:44:56,057][WARNING] Transient error StatusCode.UNAVAILABLE encountered while exporting traces to [[otlp.arize.com](http://otlp.arize.com/)](http://otlp.arize.com/), retrying in 1.04s.
[2025-12-22][10:45:02][ERROR] [LANGFLOW STDERR] [2025-12-22 10:45:02,928][ERROR] Failed to export traces to [[otlp.arize.com](http://otlp.arize.com/)](http://otlp.arize.com/), error code: StatusCode.UNAVAILABLE

The issue appears to be related to grpc/grpc#38290.

I was able to get the traces to show up by 2 ways:
A. Switch to HttpSpanExporter
Applying the following changes in arize_phoenix.py:

- arize_endpoint = f"{arize_collector_endpoint}/v1"
+ arize_endpoint = f"{arize_collector_endpoint}/v1/traces"

if enable_arize_tracing:
    tracer_provider.add_span_processor(
        span_processor=span_processor(
-            span_exporter=GRPCSpanExporter(endpoint=arize_endpoint, headers=arize_headers),
+            span_exporter=HTTPSpanExporter(endpoint=arize_endpoint, headers=arize_headers),
        )
    )

B. Pin grpcio library inside ~/.langflow/data/requirements.txt, by adding grpcio==1.67.1

Expected behavior

The traces should show up in Arize AX platform as expected.

Who can help?

No response

Operating System

macos

Langflow Version

1.7.1

Python Version

None

Screenshot

No response

Flow File

No response

Metadata

Metadata

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