Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 11, 2025

Summary

This PR documents the Dashboard:Otlp:SuppressUnsecuredTelemetryMessage configuration option that allows users to suppress the unsecured telemetry warning message displayed in the dashboard.

Background

When the Aspire dashboard is configured with Dashboard:Otlp:AuthMode set to Unsecured, a warning message is displayed in both the console and dashboard UI:

"OTLP server is unsecured. Untrusted apps can send telemetry to the dashboard."

While this is the correct default behavior for security awareness, there are scenarios (such as local development or controlled environments) where users may want to suppress this warning.

Changes

Added documentation for the Dashboard:Otlp:SuppressUnsecuredTelemetryMessage configuration option in the OTLP authentication section of the dashboard configuration page:

  • Configuration key: Dashboard:Otlp:SuppressUnsecuredTelemetryMessage
  • Environment variable: DASHBOARD__OTLP__SUPPRESSUNSECUREDTELEMETRYMESSAGE
  • Default value: false
  • Description: When set to true, suppresses the unsecured telemetry warning message that appears when OTLP endpoints are configured with Unsecured auth mode

Usage Example

Users can now suppress the warning by setting the environment variable when running the dashboard:

# Bash
export DASHBOARD__OTLP__SUPPRESSUNSECUREDTELEMETRYMESSAGE=true

# PowerShell
$env:DASHBOARD__OTLP__SUPPRESSUNSECUREDTELEMETRYMESSAGE = "true"

Or in a JSON configuration file:

{
  "Dashboard": {
    "Otlp": {
      "SuppressUnsecuredTelemetryMessage": true
    }
  }
}

Fixes the documentation gap for this configuration option.

Original prompt

Document suppressing telemetry warning message on the dashboard configuration page.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.


Internal previews

📄 File 🔗 Preview link
docs/fundamentals/dashboard/configuration.md Dashboard configuration

@JamesNK
Copy link
Member

JamesNK commented Oct 11, 2025

@copilot More information available at dotnet/aspire#11954. This PR adds the new configuration setting.

Copilot AI changed the title [WIP] Document suppressing telemetry warning message Document Dashboard:Otlp:SuppressUnsecuredTelemetryMessage configuration option Oct 11, 2025
Copilot AI requested a review from JamesNK October 11, 2025 06:47
Copilot finished work on behalf of JamesNK October 11, 2025 06:47
Copilot finished work on behalf of JamesNK October 11, 2025 06:49
@JamesNK JamesNK marked this pull request as ready for review October 11, 2025 06:52
@JamesNK JamesNK requested a review from IEvangelist as a code owner October 11, 2025 06:52
Copilot AI review requested due to automatic review settings October 11, 2025 06:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR documents the Dashboard:Otlp:SuppressUnsecuredTelemetryMessage configuration option, which allows users to suppress the unsecured telemetry warning message displayed when the Aspire dashboard is configured with unsecured OTLP authentication.

Key changes:

  • Added documentation for a new configuration option that controls warning message visibility
  • Provided clear guidance on when this option should be used for security purposes

@JamesNK
Copy link
Member

JamesNK commented Oct 11, 2025

Note: This setting is being added in 9.5.2. Don't merge until 9.5.2 is released.

@IEvangelist IEvangelist added the DO NOT MERGE Help prevent PR from mistakenly being merged. label Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DO NOT MERGE Help prevent PR from mistakenly being merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants