1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-04 09:43:23 +02:00
opentelemetry-go/sdk/trace
Krzesimir Nowak af114baf6b
Call otel.Handle with non-nil errors (#1384)
* Call otel.Handle with non-nil errors

That's what normally happens in other call sites. Those two didn't
check it, but passed the "error" to Handle. The default, delegating
implementation of ErrorHandler was printing the error unconditionally,
which resulted in pointless lines like `2020/12/07 19:51:28 <nil>` in
demos, for example.

* Add tests

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-12-10 21:28:41 -08:00
..
attributesmap_test.go Add RO/RW span interfaces (#1360) 2020-12-10 21:15:44 -08:00
attributesmap.go Add RO/RW span interfaces (#1360) 2020-12-10 21:15:44 -08:00
batch_span_processor_test.go Add RO/RW span interfaces (#1360) 2020-12-10 21:15:44 -08:00
batch_span_processor.go Add RO/RW span interfaces (#1360) 2020-12-10 21:15:44 -08:00
benchmark_test.go Move tracing code to trace package (#1307) 2020-11-06 17:13:31 -05:00
config.go Enable support for externally-defined ID generators (#1363) 2020-12-09 20:30:32 -05:00
doc.go Update README and documentation to better communicate pre-GA state (#1281) 2020-10-29 09:23:13 -07:00
evictedqueue_test.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
evictedqueue.go chore: adds vanity import for files that don't have it. (#1297) 2020-11-04 09:10:58 -08:00
id_generator.go Enable support for externally-defined ID generators (#1363) 2020-12-09 20:30:32 -05:00
provider_test.go Call otel.Handle with non-nil errors (#1384) 2020-12-10 21:28:41 -08:00
provider.go Call otel.Handle with non-nil errors (#1384) 2020-12-10 21:28:41 -08:00
sampling_test.go Enable support for externally-defined ID generators (#1363) 2020-12-09 20:30:32 -05:00
sampling.go Move tracing code to trace package (#1307) 2020-11-06 17:13:31 -05:00
simple_span_processor_test.go Add RO/RW span interfaces (#1360) 2020-12-10 21:15:44 -08:00
simple_span_processor.go Add RO/RW span interfaces (#1360) 2020-12-10 21:15:44 -08:00
span_processor_example_test.go Add RO/RW span interfaces (#1360) 2020-12-10 21:15:44 -08:00
span_processor_test.go Add RO/RW span interfaces (#1360) 2020-12-10 21:15:44 -08:00
span_processor.go Add RO/RW span interfaces (#1360) 2020-12-10 21:15:44 -08:00
span.go Add RO/RW span interfaces (#1360) 2020-12-10 21:15:44 -08:00
trace_go11.go chore: adds vanity import for files that don't have it. (#1297) 2020-11-04 09:10:58 -08:00
trace_nongo11.go chore: adds vanity import for files that don't have it. (#1297) 2020-11-04 09:10:58 -08:00
trace_test.go Call otel.Handle with non-nil errors (#1384) 2020-12-10 21:28:41 -08:00
tracer.go Add RO/RW span interfaces (#1360) 2020-12-10 21:15:44 -08:00
util_test.go Rename *Provider names (#1190) 2020-09-23 18:16:13 -04:00