Skip to content

Commit

Permalink
Fixed bug with incorrect metric tags
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Kozlov <aleksandr.kozlov@workato.com>
  • Loading branch information
k0zl committed Oct 2, 2023
1 parent 58fe998 commit 42ef373
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/collector/app/handler/grpc_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ func (c *batchConsumer) consume(ctx context.Context, batch *model.Batch) error {
}
}
_, err = c.spanProcessor.ProcessSpans(batch.Spans, processor.SpansOptions{
InboundTransport: processor.GRPCTransport,
SpanFormat: processor.ProtoSpanFormat,
InboundTransport: c.spanOptions.InboundTransport,
SpanFormat: c.spanOptions.SpanFormat,
Tenant: tenant,
})
if err != nil {
Expand Down

0 comments on commit 42ef373

Please sign in to comment.