Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 495 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 495 Bytes

TraceContext.Net

Aiming to provide a simple .net implementation of the W3C TraceContext specification.

To create an instance, you can either ...

  • simply create a new TraceContext(), or
  • parse existing Headers by using TraceContext.TryParse(...)

To get the headers you need to set in outgoing requests, you can use the method (string traceparent, string tracestate) GetOutgoingHeaderValues(). This returns a tuple of the two header values.