1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-02 08:52:21 +02:00
opentelemetry-go/api
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
..
core Add Min() interface - rename MaxSumCount to MinMaxSumCount (#352) 2019-11-26 14:07:58 -08:00
distributedcontext api/distributedcontext: add Map unit tests (#270) 2019-11-02 14:46:13 -07:00
global Rename GetMeter() to Meter() (#357) 2019-11-26 09:54:05 -08:00
key Namespace import path under "/otel" (#274) 2019-11-01 11:40:29 -07:00
metric Rename GetMeter() to Meter() (#357) 2019-11-26 09:54:05 -08:00
propagators Merge propagation and api/propagation into api/propagators (#362) 2019-12-03 13:52:03 -08:00
testharness Drop SetAttribute from Span (#361) 2019-12-03 16:58:55 +11:00
trace Add inspectable test tracer (#353) 2019-12-04 14:00:35 -08:00
unit Namespace import path under "/otel" (#274) 2019-11-01 11:40:29 -07:00