Skip to content

Dashboard issue after update .Net Aspire to 9.3 #9632

@ys0d

Description

@ys0d

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I have the following OpenTelemetry resource configuration:

 builder.Services.AddOpenTelemetry()
     .ConfigureResource(b =>
     {
         b.AddService(builder.Environment.ApplicationName);
     });

In Dashboard this configuration affects resource dropdowns that allow filtering by a resource:
Image
In 9.2.1 version all these filters worked as expected, but after update to 9.3 only "All" option works as before. If we chose any particular resource, the output is empty.
This applies for Logs and Traces. For Metrics there is no "All" option, so Metrics are not observable at all.

Expected Behavior

No response

Steps To Reproduce

Add OpenTelemetry service configuration:

 builder.Services.AddOpenTelemetry()
     .ConfigureResource(b =>
     {
         b.AddService(builder.Environment.ApplicationName);
     });

Try to observe Metrics in the Dashboard

Exceptions (if any)

No response

.NET Version info

C:\Program Files (x86)\Far Manager>dotnet --info
.NET SDK:
Version: 9.0.300
Commit: 15606fe0a8
Workload version: 9.0.300-manifests.af4147de
MSBuild version: 17.14.5+edd3bbf37

Runtime Environment:
OS Name: Windows
OS Version: 10.0.26100
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.300\

.NET workloads installed:
[aspire]
Installation Source: VS 17.14.36127.28
Manifest Version: 8.2.2/8.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.aspire\8.2.2\WorkloadManifest.json
Install Type: Msi

Configured to use loose manifests when installing new manifests.

Host:
Version: 9.0.5
Architecture: x64
Commit: e36e4d1a8f

.NET SDKs installed:
9.0.300 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.16 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

Anything else?

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions