diff --git a/pkg/database/source.go b/pkg/database/source.go index c5691d0..eab4530 100644 --- a/pkg/database/source.go +++ b/pkg/database/source.go @@ -52,8 +52,8 @@ func CreateSourceInBatch(ctx context.Context, source []models.Source, batchSize }) span.SetAttributes( - attribute.Int64("batch_size", int64(batchSize)), - attribute.Int64("source_count", int64(len(source))), + attribute.Int("batch_size", batchSize), + attribute.Int("source_count", len(source)), ) utils.HandleEvent(span, localLogger, "Starting batch source creation")