File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -217,15 +217,12 @@ public ProfileTracer IgnoreChildFrames(bool value = true)
217217 }
218218
219219 [ MethodImpl ( MethodImplOptions . PreserveSig | MethodImplOptions . NoInlining | MethodImplOptions . NoOptimization ) ]
220- public void StartDistributedTracing ( )
220+ public void ApplyDistributedHeaders ( string traceparent , string tracestate )
221221 {
222-
223- }
224-
225- [ MethodImpl ( MethodImplOptions . PreserveSig | MethodImplOptions . NoInlining | MethodImplOptions . NoOptimization ) ]
226- public void EndDistributedTracing ( )
227- {
228-
222+ DistributedHeader . Remove ( "traceparent" ) ;
223+ DistributedHeader . Add ( "traceparent" , traceparent ) ;
224+ DistributedHeader . Remove ( "tracestate" ) ;
225+ DistributedHeader . Add ( "tracestate" , tracestate ) ;
229226 }
230227
231228 //Method the profiler looks for
You can’t perform that action at this time.
0 commit comments