Skip to content
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

Profiling Page - Slowest Functions Chart Not Displaying #4037

Open
cobyeastwood183 opened this issue Mar 14, 2025 · 4 comments
Open

Profiling Page - Slowest Functions Chart Not Displaying #4037

cobyeastwood183 opened this issue Mar 14, 2025 · 4 comments
Labels
Bug Something isn't working Framework: ASP.NET Core

Comments

@cobyeastwood183
Copy link

Package

Sentry.AspNetCore

.NET Flavor

.NET Core

.NET Version

5.3.0

OS

macOS

SDK Version

5.3.0

Self-Hosted Sentry Version

No response

Steps to Reproduce

Enable tracing and profiling. Configure app with functions, controllers, and routes. Sharing an example app.

Expected Result

Slowest functions should display when data is populated below.

Actual Result

In the profiles page, slowest functions does not display despite having transaction data populated below.

Image

@jamescrosswell
Copy link
Collaborator

@vaind have you seen this before? Does the SDK need to do anything special to populate that chart or is this more likely a Sentry issue?

@tvardero
Copy link

tvardero commented Mar 17, 2025

Affects my project as well.

Image

string version = Assembly.GetEntryAssembly()?.GetNameAndVersion().Version ?? "1.0.0+unknown";
builder.WebHost.UseSentry(options =>
    {
        options.Release = version;
        options.AddProfilingIntegration();
    });
  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <RuntimeIdentifier>linux-x64</RuntimeIdentifier>
    ...
  </PropertyGroup>

  <ItemGroup>
    ...
    <PackageReference Include="Sentry.AspNetCore" Version="5.3.0" />
    <PackageReference Include="Sentry.Profiling" Version="5.4.0" />
    ...
  </ItemGroup>

  <PropertyGroup Condition="'$(Configuration)' == 'Release' And '$(SENTRY_CREATE_RELEASE)' == 'true'">
    <SentryOrg> [REDACTED] </SentryOrg>
    <SentryProject> [REDACTED] </SentryProject>
    <SentryCreateRelease>true</SentryCreateRelease>
    <SentrySetCommits>true</SentrySetCommits>
    <SentryUploadSymbols>true</SentryUploadSymbols>
    <SentryUploadSources>true</SentryUploadSources>
  </PropertyGroup>

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Mar 17, 2025
@vaind
Copy link
Collaborator

vaind commented Mar 17, 2025

@vaind have you seen this before?

Nope

Does the SDK need to do anything special to populate that chart or is this more likely a Sentry issue?

It shouldn't depend on the SDK, AFAIK it's a "UI" feature.

@cobyeastwood183 did it work for you before?

@cobyeastwood183
Copy link
Author

hey @vaind! this was actually related to a ticket, I just made a reproduction - https://sentry.zendesk.com/agent/tickets/146891

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Framework: ASP.NET Core
Projects
Status: No status
Status: No status
Development

No branches or pull requests

5 participants