0.12.0-rc1
Pre-release
Pre-release
This is a release candidate for the upcoming 0.12.0 release!
New feature: Trace Identifiers
#96 implements the Trace Identifiers RFC by adding the properties string TraceId
& string SpanId
to ISpanContext
. These identifiers make it easier to correlate tracing data with data in other systems, simplify important tasks, and allow the creation of reusable trace observers.
Current state of this RFC: Test
This RFC is a breaking change for tracers. Tracers who already have existing properties with the same name MAY use explicit interface implementations if they don't want to change the types/names of their existing properties.
Enhancements
- #72 New
ISpan.SetTag
andISpanBuilder.WithTag
overloads for use with Tag types- You can now use the fluent
span.SetTag(Tags.HttpStatus, 200)
syntax instead ofTags.HttpStatus.Set(span, 200)
. The same syntax also works for ISpanBuilder (e.g.spanBuilder.WithTag(Tags.HttpMethod, "GET")
) - This is a breaking change for tracer libraries.
- You can now use the fluent
- #75 New parameterless
ISpanBuilder.StartActive()
overload- Tracers MUST implement this with
finishSpanOnDispose: true
- This is a breaking change for tracer libraries.
- Tracers MUST implement this with
- #77
NoopTracer
types are now public - #80 OpenTracing assembly is signed
- #83
MockTracer
usesAsyncLocalScopeManager
onMockTracer(IPropagator)
constructor- This might be a breaking change for anyone using
MockTracer
- This might be a breaking change for anyone using
- #91
ISpan.Log()
methods now useIEnumerable<KeyValuePair<string, object>>
- This makes it easier to pass more efficient data types. Existing code that passes dictionaries will continue to work because
IDictionary<string, object>
implements that interface. - This is a breaking change for tracer libraries
- This makes it easier to pass more efficient data types. Existing code that passes dictionaries will continue to work because
Bugs
- #99
AsyncLocalScopeManager
now uses instance variables
Docs
- #70 New
examples
folder which contains a port of opentracing-java'sopentracing-examples
- #74 Improved XML docs
We'd like to thank everyone who contributed code or commented on issues for their help!