1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-12 02:28:07 +02:00
opentelemetry-go/propagators
Sam Xie 230bdd10f0
Add SpanContextFromContext() (#1255)
* SpanFromContext returns nil if span not exists

* Add tests for SpanContextFromContext

* Update CHANGELOG

* Update trace.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* SpanFromContext() continue to return a noopSpan{}

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-10-21 17:30:28 -04:00
..
baggage_test.go Renaming otcorrelations header to baggage (#1267) 2020-10-20 10:51:17 -07:00
baggage.go Renaming otcorrelations header to baggage (#1267) 2020-10-20 10:51:17 -07:00
doc.go Add Baggage API and move Baggage propagator (#1217) 2020-10-05 11:25:09 -04:00
propagators_test.go Move trace api package into otel (#1229) 2020-10-08 19:58:56 -07:00
trace_context_benchmark_test.go Move trace api package into otel (#1229) 2020-10-08 19:58:56 -07:00
trace_context_example_test.go Move the otel/api/global package to otel/global (#1262) 2020-10-17 10:03:48 -07:00
trace_context_test.go Move trace api package into otel (#1229) 2020-10-08 19:58:56 -07:00
trace_context.go Add SpanContextFromContext() (#1255) 2020-10-21 17:30:28 -04:00