コード例 #1
0
 public Task <T> CaptureSpan <T>(string name, string type, Func <ISpan, Task <T> > func, string subType = null, string action = null)
 => ExecutionSegmentCommon.CaptureSpan(new NoopSpan(name, type, subType, action, _currentExecutionSegmentsContainer), func);
コード例 #2
0
 public void CaptureSpan(string name, string type, Action <ISpan> capturedAction, string subType = null, string action = null)
 => ExecutionSegmentCommon.CaptureSpan(new NoopSpan(name, type, subType, action, _currentExecutionSegmentsContainer), capturedAction);
コード例 #3
0
ファイル: Span.cs プロジェクト: rbomfim/apm-agent-dotnet
 public Task <T> CaptureSpan <T>(string name, string type, Func <ISpan, Task <T> > func, string subType = null, string action = null)
 => ExecutionSegmentCommon.CaptureSpan(StartSpanInternal(name, type, subType, action), func);
コード例 #4
0
ファイル: Span.cs プロジェクト: rbomfim/apm-agent-dotnet
 public void CaptureSpan(string name, string type, Action capturedAction, string subType = null, string action = null)
 => ExecutionSegmentCommon.CaptureSpan(StartSpanInternal(name, type, subType, action), capturedAction);
コード例 #5
0
ファイル: NoopSpan.cs プロジェクト: lwplvx/apm-agent-dotnet
 public Task CaptureSpan(string name, string type, Func <ISpan, Task> func, string subType = null, string action = null)
 => ExecutionSegmentCommon.CaptureSpan(new NoopSpan(name, type, subType, action, _currentExecutionSegmentsContainer, Id, TraceId, this),
                                       func);
コード例 #6
0
 public Task <T> CaptureSpan <T>(string name, string type, Func <ISpan, Task <T> > func, string subType = null, string action = null, bool isExitSpan = false)
 => ExecutionSegmentCommon.CaptureSpan(new NoopSpan(name, type, subType, action, _currentExecutionSegmentsContainer, Id, TraceId, this),
                                       func);
コード例 #7
0
 public void CaptureSpan(string name, string type, Action capturedAction, string subType = null, string action = null, bool isExitSpan = false)
 => ExecutionSegmentCommon.CaptureSpan(new NoopSpan(name, type, subType, action, _currentExecutionSegmentsContainer, Id, TraceId, this),
                                       capturedAction);