Azure / Azure/azure-sdk-for-python
Token usage and genai calls not seen in ai foundary tracing for AI Agents
- Langage dominant
- Python
- Étoiles
- 5.6k
- Forks
- 3.4k
- Merge moyen
- 2 j 2 h
- PR mergées (30 j)
- 213
Description
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:

Sample output with AI agent

Keeping or removing `AZURE_TRACING_GEN_AI_CONTENT_RECORDING_ENABLED=true` in .env file doesn't change the output.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.