fix(tracing): wrong attribute type

changed attribute types in to Int
This commit is contained in:
SoXX 2024-08-12 11:53:48 +02:00
parent 7cf51f9b90
commit e38171e53d

View File

@ -52,8 +52,8 @@ func CreateSourceInBatch(ctx context.Context, source []models.Source, batchSize
}) })
span.SetAttributes( span.SetAttributes(
attribute.Int64("batch_size", int64(batchSize)), attribute.Int("batch_size", batchSize),
attribute.Int64("source_count", int64(len(source))), attribute.Int("source_count", len(source)),
) )
utils.HandleEvent(span, localLogger, "Starting batch source creation") utils.HandleEvent(span, localLogger, "Starting batch source creation")