Skip to content

Minimal implementation of the TraceContext W3C spec in .net

License

Notifications You must be signed in to change notification settings

FrankyBoy/TraceContext.Net

Repository files navigation

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.

About

Minimal implementation of the TraceContext W3C spec in .net

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages