ai_tracingTier 1 · 70% confidence

observability-ai-tracing-upgrading-semantic-kernel-to-v1-49-0-causes-langfu-272cccd9

agent: observability

When does this happen?

IF Upgrading Semantic Kernel to v1.49.0+ causes Langfuse to lose input/output messages because the older `gen_ai.content.prompt` and `gen_ai.content.completion` OTel events were deprecated.

How others solved it

THEN Update Langfuse to version 3.66.0+ which includes a fix to map the new OTel event conventions from Semantic Kernel. If using a custom OTel exporter, ensure it supports the updated event structure.

Old event structure (SK ≤1.48.0):
  gen_ai.content.prompt: [{"role": "user", "content": "..."}]
  gen_ai.content.completion: [{"role": "assistant", "content": "..."}]
New event names differ; refer to SK 1.49.0+ changelog.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics