1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-11-30 08:46:54 +02:00
opentelemetry-go/api/trace
Isobel Redelmeier a9756528ba Add inspectable test tracer (#353)
* Add inspectable test tracer

This adds a test Tracer implementation that tracks its active and ended
spans and uses a Span implementation that can be inspected (e.g., to see
what attributes have been set).

* Ensure test tracer can start spans concurrently

* Flip conditional logic to return early

* Remove duplicate test

* Fix file name casing

🤦

* Add comments to testtrace code

* Remove Link and AddLink methods from test Span

* Enable concurrently setting and getting test attrs

* Remove SetAttribute from test tracer

* Fix test

* Fix names post-rebase
2019-12-04 14:00:35 -08:00
..
testtrace Add inspectable test tracer (#353) 2019-12-04 14:00:35 -08:00
always_sampler_test.go Namespace import path under "/otel" (#274) 2019-11-01 11:40:29 -07:00
always_sampler.go Namespace import path under "/otel" (#274) 2019-11-01 11:40:29 -07:00
api.go Make span start/end configuration more greppable (#369) 2019-12-05 08:41:13 +11:00
current_test.go Drop SetAttribute from Span (#361) 2019-12-03 16:58:55 +11:00
current.go Export NoopSpan and NoopTracer (#92) 2019-08-13 16:03:40 -07:00
doc.go Namespace import path under "/otel" (#274) 2019-11-01 11:40:29 -07:00
never_sampler_test.go Namespace import path under "/otel" (#274) 2019-11-01 11:40:29 -07:00
never_sampler.go Namespace import path under "/otel" (#274) 2019-11-01 11:40:29 -07:00
noop_span.go Drop SetAttribute from Span (#361) 2019-12-03 16:58:55 +11:00
noop_trace_provider.go Rename GetTracer to Tracer (#347) 2019-11-25 09:46:07 -08:00
noop_trace.go Make span start/end configuration more greppable (#369) 2019-12-05 08:41:13 +11:00
sampler.go Namespace import path under "/otel" (#274) 2019-11-01 11:40:29 -07:00