Azure / Azure/azure-sdk-for-python

Token usage and genai calls not seen in ai foundary tracing for AI Agents

オープン
#40,176 コメント 3 件 リアクション 0 件 担当者 1 名 @M-Hietala が担当を希望しています GitHub で見る
Client customer-reported Monitor - Exporter needs-team-attention question Service Attention
主要言語
Python
スター
5.6k
フォーク
3.4k
平均マージ
2日
マージ済み PR(30日)
217

説明

I configured azure monitor open telemetry to an ai agent application and configured `AZURE_TRACING_GEN_AI_CONTENT_RECORDING_ENABLED=true` in my environment variables but i still can't see the LLM calls in AI foundary tracing. While the same is much cleaner when I integrate the application insights with semantic kernel chatcompletion agent and setting `SEMANTICKERNEL_EXPERIMENTAL_GENAI_ENABLE_OTEL_DIAGNOSTICS_SENSITIVE=true`

Sample output with SK chatcompletion agent:

![Image](https://github.com/user-attachments/assets/ecf4faac-6272-4ed8-b426-79a965473631)

Sample output with AI agent

![Image](https://github.com/user-attachments/assets/a5b8a2dd-2dca-429c-8a36-f585c1a97eb9)

Keeping or removing `AZURE_TRACING_GEN_AI_CONTENT_RECORDING_ENABLED=true` in .env file doesn't change the output.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。