Additional parameter for setting a category for tracing

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

ファイル、テスト、エントリーポイントは指定されていません。まず @critical_path の tracing 実装を見つけ、ユーザーが指定したカテゴリをどのように表現して適用すべきかを判断してください。tracing が sched_interface や sched_script などのカテゴリを scope に関係なく個別に区別できれば完了です。

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

説明

Something that might be useful for developers would be to have the ability to specify a category for splitting up tracing so specific components can be analyzed. Something similar to scope, but that can be applied at the user's discretion outside of scope's particular use with the asynchronous variants of tracing. For example, if I want custom categories to differentiate between methods that interface directly with the scheduler versus methods that write out the necessary scripts:

@critical_path(category="sched_interface")
def submit(script, ...):
    sched.submit(script)

@critical_path(category="sched_script")
def write_script(cmd, path, ...):
    adapter.write(cmd, path)
主要言語
C++
スター
3
フォーク
17
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

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

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

はじめの一歩

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

flux-framework/PerfFlowAspect のほかの issue

flux-framework/PerfFlowAspect の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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