dotnet / dotnet/diagnostics

[feature request] non-Windows lightweight event viewer

Open
#489 1 comment 0 reactions 0 assignees View on GitHub
diagnostic global tooling enhancement
Dominant language
C++
Stars
1.3k
Forks
404
Avg merge
2d 5h
Merged PRs (30d)
35

Description

Given a `nettrace` trace, I want to be able to view the event stats and payloads on a non-Windows platform. We currently have conversions for `nettrace` to formats like SpeedScope which enable the viewing of CPU sampling and stacks, but these lack the ability to investigate events in the trace.

I imagine that this hypothetical tool would be capable of opening a `nettrace` file and then filtering/viewing the events. This tool would preferably be something terminal based so that it would work seamlessly over remote connections. I am imagining a very simply 2 pane UI with basic interactions _a la_ `htop`.

All the building blocks for this tool should already exist as byproducts of writing the other diagnostics tools. The majority of the investment would be in the efficient parsing of the trace file and rendering to the terminal. The `System.CommandLine.Rendering` APIs are still fairly nascent, but usable. There are alternatives like Miguel de Icaza's GUI.cs library which could also be used to expedite the UI work. If done correctly, the tool will be usable on all platforms.

This tool should be lightweight and focused _solely_ on the viewing and filtering of events in an *already* collected trace.

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.