File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 11using System ;
2+ using System . Collections . Specialized ;
23using System . Runtime . CompilerServices ;
34using System . Threading . Tasks ;
45using StackifyLib . Utils ;
@@ -22,6 +23,18 @@ public class ProfileTracer
2223
2324 private readonly string _transactionId = Guid . NewGuid ( ) . ToString ( ) ;
2425 private string _requestId = null ;
26+ private NameValueCollection _distributedHeaders ;
27+ public NameValueCollection DistributedHeader
28+ {
29+ get
30+ {
31+ if ( _distributedHeaders == null )
32+ {
33+ _distributedHeaders = new NameValueCollection ( ) ;
34+ }
35+ return _distributedHeaders ;
36+ }
37+ }
2538
2639#if NETFULL
2740#if ! NET40
@@ -203,6 +216,18 @@ public ProfileTracer IgnoreChildFrames(bool value = true)
203216 return this ;
204217 }
205218
219+ [ MethodImpl ( MethodImplOptions . PreserveSig | MethodImplOptions . NoInlining | MethodImplOptions . NoOptimization ) ]
220+ public void StartDistributedTracing ( )
221+ {
222+
223+ }
224+
225+ [ MethodImpl ( MethodImplOptions . PreserveSig | MethodImplOptions . NoInlining | MethodImplOptions . NoOptimization ) ]
226+ public void EndDistributedTracing ( )
227+ {
228+
229+ }
230+
206231 //Method the profiler looks for
207232 [ MethodImpl ( MethodImplOptions . PreserveSig | MethodImplOptions . NoInlining | MethodImplOptions . NoOptimization ) ]
208233 private void ExecInternal2 ( string values , Action action )
You can’t perform that action at this time.
0 commit comments