Move trace api package into otel#1229
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1229 +/- ##
========================================
+ Coverage 76.6% 76.9% +0.2%
========================================
Files 133 130 -3
Lines 5754 5761 +7
========================================
+ Hits 4412 4433 +21
+ Misses 1093 1079 -14
Partials 249 249
|
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Includes resolutions for review issues.
|
This has broke https://github.com/go-redis/redis
|
It hasn't. Please ensure that you are using Go in module mode. That is the default in 1.14+, which is all that is currently supported by this project. When using Go in module mode the |
* Move trace API to otel * Move tracetest to oteltest * Update package documentation * Remove old api/trace package * Lint * Add changes to CHANGELOG * Add tests for rest of trace API * Apply suggestions from code review Co-authored-by: Anthony Mirabella <a9@aneurysm9.com> * Documentation fixes Includes resolutions for review issues. * Correct CHANGELOG post release Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Move the
api/tracepackage into theotelwith the following changes:trace.IDhas been renamed tootel.TraceID.trace.IDFromHexhas been renamed tootel.TraceIDFromHextrace.EmptySpanContextis removed to reduce the package contents and maintenance burden and the simplicity to duplicate the functionality it provided.ErrorOptionhas been changed to an interface to conform with the project design guidelines which included adding aNewErrorConfigfunction.The
api/trace/tracetestpackage is moved tootel/oteltest.Part of #964 and #1179