dotnet / dotnet/diagnostics

dotnet.exe should not appear in "dotnet counters list-processes"

Open
#372 7 comments 0 reactions 0 assignees View on GitHub
diagnostic global tooling enhancement
Dominant language
C++
Stars
1.3k
Forks
404
Avg merge
2d 3h
Merged PRs (30d)
38

Description

After installing dotnet-counters Preview 6, two different outputs are generated when "dotnet counters list-processes" and "dotnet-counters list-processes" are executed.
![image](https://user-images.githubusercontent.com/10163781/60401363-95089e80-9b80-11e9-936a-5c766c3a23a1.png)

When using the "dotnet counters" syntax, dotnet.exe seems to spawn the C:\Users\\.dotnet\tools\dotnet-counters.exe application.
Since dotnet.exe exposes its own \\.\pipe\dotnetcore-diagnostic- named pipe, it appears in the list (based on https://github.com/dotnet/diagnostics/blob/master/src/Microsoft.Diagnostics.Tools.RuntimeClient/Eventing/EventPipeClient.cs#L35).

However, I don't see any filtering out of the current process so I can't explain why dotnet-counters.exe does not appear when it runs...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.