Skip to content

Documentation missing for enabling OpenAI telemetry in .NET Aspire dashboard #12961

@Varorbc

Description

@Varorbc

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Image

I was trying to view OpenAI telemetry data in the Aspire dashboard tracing view, but no relevant data was appearing. The dashboard provided a link to the documentation, but this section didn't provide sufficient guidance for enabling OpenAI-specific telemetry.

I then checked the Aspire.OpenAI component documentation, but the configuration steps mentioned there didn't work for me.

After researching further, I discovered in the commit history (specifically #11237) that OpenAI telemetry requires setting EnableSensitiveTelemetryData to true to be visible in the dashboard.

The documentation should be updated to clearly explain that:

  1. OpenAI telemetry is disabled by default due to containing potentially sensitive data
  2. Users need to explicitly set EnableSensitiveTelemetryData=true to view this telemetry
  3. This setting should be mentioned in both the main dashboard documentation and the Aspire.OpenAI component documentation
  4. A clear warning about the implications of enabling this setting (exposing potentially sensitive AI prompts/responses in telemetry) would be helpful

This would save other developers significant time troubleshooting why their OpenAI telemetry isn't appearing in the dashboard.

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version info

No response

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions