1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-12 02:28:07 +02:00
opentelemetry-go/oteltest
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
..
alignment_test.go Move metric api package into otel (#1252) 2020-10-17 09:48:21 -07:00
config.go Add SpanContextFromContext() (#1255) 2020-10-21 17:30:28 -04:00
doc.go Update documentation for otel/oteltest (#1248) 2020-10-13 12:27:53 -07:00
event.go Update Span API event methods (#1254) 2020-10-16 08:09:27 -07:00
harness.go Update Span API event methods (#1254) 2020-10-16 08:09:27 -07:00
meter.go Move metric api package into otel (#1252) 2020-10-17 09:48:21 -07:00
mock_span.go Update Span API event methods (#1254) 2020-10-16 08:09:27 -07:00
mock_tracer.go Move trace api package into otel (#1229) 2020-10-08 19:58:56 -07:00
provider.go Update documentation for otel/oteltest (#1248) 2020-10-13 12:27:53 -07:00
span_test.go Update Span API event methods (#1254) 2020-10-16 08:09:27 -07:00
span.go Update Span API event methods (#1254) 2020-10-16 08:09:27 -07:00
text_map_propagator_test.go Add oteltest TextMap propagator and carrier (#1259) 2020-10-15 09:15:52 -07:00
text_map_propagator.go Add global propagator testing and other fixes (#1260) 2020-10-16 17:50:57 -07:00
tracer_test.go Move api/apitest into the otel/oteltest package (#1241) 2020-10-12 08:47:41 -07:00
tracer.go Add SpanContextFromContext() (#1255) 2020-10-21 17:30:28 -04:00