-
Notifications
You must be signed in to change notification settings - Fork 614
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
Add .NET support #117
Comments
I would like to hear about the next steps on this issue :) |
Did some research, here is a rough TODO list:
|
So it looks like default dotnet format ( I made a separate issue for that #172 |
Also does |
There is one more option to get data from .Net runtime - to use Diagnostics IPC directly, bypassing What do you think guys @benaadams, @petethepig? |
|
The CLI tools are (mostly) thin wrappers around the Microsoft.Diagnostics.NetCore.Client NuGet package. That has everything you need to start an EventPipe session (or other diagnostic tasks) without having to spin your own Diagnostics IPC Protocol implementation. As for parsing the event stream, you can use Those components are all written in C#, so if you want to write the agent in something other than that, you will have to spin your own implementation for now. I'd be happy to chat some more about your use case if you have any questions 😄. |
@josalem Thanks for the pointers! This is very useful. @kolesnikovae @benaadams I think we're gonna go with the Diagnostics IPC route for the reasons @kolesnikovae mentioned:
|
Do not match labels on name label
There is already a cross platform (Windows, macOS, Linux) sampling profiler for .NET as part of the platform which can be invoked with
dotnet trace collect
(instructions)Would be great it this could be adapted or utilised to serve as an agent for pyroscope.
Have also raised an issue in the .NET diagnostics repo regarding this dotnet/diagnostics#2068
The text was updated successfully, but these errors were encountered: