1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-14 10:13:10 +02:00
opentelemetry-go/internal/matchers
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
..
expectation.go Add inspectable test tracer (#353) 2019-12-04 14:00:35 -08:00
expecter.go Provide conformance tests for tracers (#191) 2019-10-17 11:13:57 -07:00
package.go Namespace import path under "/otel" (#274) 2019-11-01 11:40:29 -07:00
temporal_matcher.go Add inspectable test tracer (#353) 2019-12-04 14:00:35 -08:00