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 9, 2018
1 parent 1ed7bb7 commit 4375b29
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 4375b29

Please sign in to comment.