#4227·promptflow

Support current Logfire and OpenTelemetry releases

Author: aecs4uCreated Sep 19, 2026Updated Sep 19, 2026

Summary

promptflow-tracing currently caps opentelemetry-sdk below 1.39.0 because OpenTelemetry 1.39 removed LogData. This prevents installation alongside current Logfire releases and leaves promptflow-devkit telemetry incompatible with the current OpenTelemetry logging API.

Proposed change

  • Migrate LogData usage to ReadableLogRecord.
  • Use positional delegation for Azure Monitor exporter compatibility.
  • Require OpenTelemetry SDK and OTLP exporter >=1.39.0.
  • Require Azure Monitor exporter >=1.0.0b46, which supports the new log record API.

The implementation is available in the proposed fork branch: aecs4u/promptflow@upstream/logfire-otel-compat.