Skip to content

Commit

Permalink
Add todo
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
  • Loading branch information
pavolloffay committed Nov 12, 2018
1 parent 45ddf2f commit 1d31e81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/agent/app/reporter/grpc/reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ func NewReporter(conn *grpc.ClientConn, logger *zap.Logger) *Reporter {

// EmitBatch implements EmitBatch() of Reporter
func (r *Reporter) EmitBatch(b *thrift.Batch) error {
// TODO pass process to r.send() - do not convert it for every span
spans := jConverter.ToDomain(b.Spans, b.Process)
return r.send(spans)
}
Expand Down

0 comments on commit 1d31e81

Please sign in to comment.