-
Notifications
You must be signed in to change notification settings - Fork 3
Conversation
Codecov Report
@@ Coverage Diff @@
## master #214 +/- ##
==========================================
- Coverage 78.32% 78.31% -0.01%
==========================================
Files 87 88 +1
Lines 3469 3487 +18
==========================================
+ Hits 2717 2731 +14
- Misses 684 688 +4
Partials 68 68 Continue to review full report at Codecov.
|
49133f0
to
443401e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, may be worth having Andrew give it a quick scan though
opentracing/tracing_test.go
Outdated
@@ -18,7 +18,7 @@ | |||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | |||
// THE SOFTWARE. | |||
|
|||
package instrument | |||
package opentracingutil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: rename so as to keep the package name the same as the folder name.
opentracing/context.go
Outdated
|
||
"github.com/opentracing/opentracing-go" | ||
"github.com/opentracing/opentracing-go/log" | ||
"golang.org/x/net/context" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any reason to prefer this over the standard lib "context" here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope - I'll switch.
opentracing/context.go
Outdated
return span, opentracing.ContextWithSpan(ctx, span) | ||
} | ||
|
||
// Time is a log.Field for time.Time values. It translates to RF3339 formatted time strings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: RFC3339
. Maybe also add an example of what that means, e.g. "2019-04-01T15:04:05Z07:00"
No description provided.