dotnet trace collect-linux usability issues

オープン
#5,738 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
48/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
領域
cli, documentation

調査の方向性

既存の dotnet-trace Linux 使用ドキュメントと、コンテナー内のプロセスからトレースを収集するためのガイダンスを確認します。ユーザーが指定すべき PID namespace の値を文書化し、コンテナーおよび CPU/thread-time に関して記載されている制限事項を含め、収集が期待どおりに機能しない可能性がある状況を説明します。ユーザーにとって期待される PID と注意点が明確になれば完了です。

索引モデルが issue の本文から書いたものです。

説明

During investigations we've noticed a few usability issues.

  • When the user provides a host namespace PID to trace a process running inside a container, dotnet-trace can't resolve the diagnostic server socket created by the app in the container. This is tracked by https://github.com/dotnet/diagnostics/issues/5694

  • When the user provides a host namespace PID to trace a process running inside a container, the library that backs collection fails to see the process as a .NET process and subsequently all events that are supposed to be registered and emitted through user_events never come through. Root cause has been identified and is tracked in https://github.com/microsoft/one-collect/issues/234

  • Requesting CPU or thread time traces results in broken stacks, showing shallow stacks instead of the full expected stacks. This is tracked in https://github.com/microsoft/one-collect/issues/235

We should also document the expected PID to provide and when this might not work as expected.

主要言語
C++
スター
1.3k
フォーク
407
平均マージ
21時間 5分
マージ済み PR(30日)
78

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dotnet/diagnostics のほかの issue

dotnet/diagnostics の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。