1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-10 00:29:12 +02:00
opentelemetry-go/internal
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 Add Baggage API and move Baggage propagator (#1217) 2020-10-05 11:25:09 -04:00
matchers Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
metric Move the otel/api/global package to otel/global (#1262) 2020-10-17 10:03:48 -07:00
testing Unify trace and metric exporter helpers (#944) 2020-07-22 11:57:48 -07:00
tools Bump github.com/itchyny/gojq from 0.11.1 to 0.11.2 in /internal/tools (#1225) 2020-10-05 09:12:24 -07:00
trace Add SpanContextFromContext() (#1255) 2020-10-21 17:30:28 -04:00
rawhelpers.go Unify api/label and api/kv in new label package (#1060) 2020-08-17 20:25:03 -07:00