microsoft / microsoft/aspire

OTLP configuration is still injected into resources when the dashboard is disabled

Open
#3,349 2 comments 1 reaction 0 assignees View on GitHub
area-app-model area-telemetry
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

When starting an AppHost project with the dashboard disabled, e.g. from a test using `DistributedApplicationTestBuilder.Create()`, the configuration for the dashboard's OTLP endpoint is still injected into the environment variables of resources, including projects and Node.js apps. Some resources may not handle being configured to egress OTLP to a non-existent endpoint as well as others so we should be sure not to configure resources for OTLP if we know the OTLP endpoint will not be started.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.