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

dotnet-counters not showing metric names #4646

Open
sjrulandch opened this issue Apr 29, 2024 · 0 comments
Open

dotnet-counters not showing metric names #4646

sjrulandch opened this issue Apr 29, 2024 · 0 comments
Assignees
Labels
bug Something isn't working dotnet-counters
Milestone

Comments

@sjrulandch
Copy link

Description

Trying out dotnet-counters with a service built using .NET8.
The System.Runtime counters are showing, but the AspNetCore.Hosting are not. Or, maybe they are showing but there are not labels (see attached image).

At the very least, I suspect that the labels are mis-alligned? I say this because the metric at the bottom appears to be the 'working set' (200.29). Several of the other values seem mis-labled as well (Thread Count at 98,384 seems ridiculously high for a web services that just started and has no traffic)

One, maybe abnormal thing is the design pattern for this service. It is part of a service oriented architecture. There is a single host process and it uses a plugin architecture. The process startup pipeline looks at a cmd line arg indicating which plugin to load. With that, it loads the assembly and determines if there are controllers, background tasks extra that needs to be supported. Because of this, it cannot use startup.cs. It uses all of the same steps (ie: IHostBuilder, etc). Is it possible that there are new, undocumented metric items that must be added to the pipeline?

Configuration

.NET8 - v8.0.204
dotnet-counters 8.0.510501+8c08c89a0643d31db91e119b1adb463be3e0ffe5

  • installed as global tool

  • WinVer reports: 22H2, OS Build 19045.429, 1

Other information

image

@sjrulandch sjrulandch added the bug Something isn't working label Apr 29, 2024
@tommcdon tommcdon added this to the 9.0.0 milestone May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dotnet-counters
Projects
None yet
Development

No branches or pull requests

3 participants