mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-11-24 08:22:25 +02:00
c6b92d5b20
* Make TraceFlags spec-compliant * Remove `trace.FlagsDebug` and `trace.FlagsDeferred` * These are used only by the B3 propagator and will be handled there in the `context.Context` * Make `trace.TraceFlags` a defined type, aliasing `byte` * Move `IsSampled` method from `trace.SpanContext` to `trace.TraceFlags` * Add `Sampled(bool)` method to `trace.TraceFlags` * Implement `Stringer` and `json.Marshaler` for `trace.TraceFlags` Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com> * Rename `TraceFlags.Sampled()` to `TraceFlags.WithSampled()` for consistency * Restore `SpanContext.IsSampled()` method. Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com> |
||
---|---|---|
.. | ||
baggage_test.go | ||
baggage.go | ||
doc.go | ||
propagation_test.go | ||
propagation.go | ||
propagators_test.go | ||
trace_context_benchmark_test.go | ||
trace_context_example_test.go | ||
trace_context_test.go | ||
trace_context.go |