You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 23, 2023. It is now read-only.
I'm using opentracing-go with the gRPC stats API, which emits lifecycle events as RPCs progress. Those events include their own timestamps, so I'd like to use them for logging.
I can use LogRecord to manipulate timestamps, but the only way to add them to a span seems to be FinishWithOptions. I'd like to add them at any time during the life of a span. I think a LogRecords(records... LogRecord) method on the Span interface would solve this.
The text was updated successfully, but these errors were encountered:
Yes, adding a method to an interface is a breaking change - all existing implementations no longer implement the new interface. I guess depends on how you define "breaking", but say Jaeger tracer depends on ^1, so it will automatically break if we release 1.x with this change.
I'm using opentracing-go with the gRPC stats API, which emits lifecycle events as RPCs progress. Those events include their own timestamps, so I'd like to use them for logging.
I can use
LogRecord
to manipulate timestamps, but the only way to add them to a span seems to beFinishWithOptions
. I'd like to add them at any time during the life of a span. I think aLogRecords(records... LogRecord)
method on theSpan
interface would solve this.The text was updated successfully, but these errors were encountered: