Provide a simple entry point for ASP.NET recording
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
調査の方向性
Start by reviewing the proposed ASP.NET ActionFilterAttribute flow and how controllers are currently measured. Identify the entry points for a standalone ASP-specific NuGet package, then check how tag, recorder, and thread-safety support would integrate. Done means web developers can add an attribute to selected controllers and record measurements through the package.
索引モデルが issue の本文から書いたものです。
説明
Ideally Web devs should be able to just pull a nuget package and add an attribute to controllers that should be measured.
Potentially an ActionFilterAttibute could be provided in a standalone ASP specific nuget
public class HistogramAttribute : ActionFilterAttribute
{
private const string StartTimestampKey = "HistogramAttribute.StartTimeStamp";
public override void OnActionExecuting(ActionExecutingContext context)
{
context.HttpContext.Items[StartTimestampKey] = Stopwatch.GetTimestamp();
}
public override void OnActionExecuted(ActionExecutedContext context)
{
var stopTimestamp = Stopwatch.GetTimestamp();
var startTimestamp = (long)context.HttpContext.Items[StartTimestampKey];
var elapsed = stopTimestamp - startTimestamp;
Log.RecordValue(elapsed);
}
}
Ideally this would also integrate with tag, recorder and thread safety support.
- 主要言語
- C#
- スター
- 185
- フォーク
- 31
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
HdrHistogram/HdrHistogram.NET のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
HdrHistogram/HdrHistogram.NET#167 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
HdrHistogram/HdrHistogram.NET#166 ·
-
WriterReaderPhaser.FlipPhase - Task.Yield().GetAwaiter().GetResult() is a Thread Pool Anti-Pattern オープンagent enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
HdrHistogram/HdrHistogram.NET#144 ·
-
agent enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
HdrHistogram/HdrHistogram.NET#142 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
HdrHistogram/HdrHistogram.NET#156 ·
HdrHistogram/HdrHistogram.NET の issue をすべて見る
似ている issue
-
untriaged
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
dotnet/dotnet-api-docs#13095 ·
-
area-deployment area-integrations triage:bot-seen
難易度 2/5 半日 初心者へのやさしさ 86/100
-
type/automation type/tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
newrelic/newrelic-dotnet-agent#3850 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
LuckyPennySoftware/AutoMapper#4660 ·