Skip to content

Python: Bug: gen_ai.content.prompt missing in trace events in Aspire Dashboard #11659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mc-marcocheng opened this issue Apr 21, 2025 · 0 comments
Labels
bug Something isn't working python Pull requests for the Python Semantic Kernel triage

Comments

@mc-marcocheng
Copy link

mc-marcocheng commented Apr 21, 2025

Describe the bug
Unable to find gen_ai.content.prompt event in Aspire Dashboard, which is mentioned in the Advanced telemetry with Sementic Kernel tutorial. This field is essential for debugging.

To Reproduce
Steps to reproduce the behavior:

  1. Setup Aspire Dashboard with Docker.
  2. Use the Python script in https://learn.microsoft.com/en-us/semantic-kernel/concepts/enterprise-readiness/observability/telemetry-advanced?tabs=Powershell&pivots=programming-language-python
  3. Setup environment variables for AzureChatCompletion.
  4. Run the script.
  5. Check the trace in Aspire Dashboard.

Expected behavior
Able to see chat message history in Aspire Dashboard.

Screenshots

Image

Platform

  • Language: Python 3.10.13
  • Source: Aspire Dashboard 9.1, Semantic Kernel 1.28.1, Opentelemetry SDK 1.32.1
  • OS: Windows
@mc-marcocheng mc-marcocheng added the bug Something isn't working label Apr 21, 2025
@markwallace-microsoft markwallace-microsoft added python Pull requests for the Python Semantic Kernel triage labels Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working python Pull requests for the Python Semantic Kernel triage
Projects
None yet
Development

No branches or pull requests

2 participants