SDK v3 #8

Merged
SoXX merged 77 commits from dev/issue-5 into main 2024-08-14 13:27:35 +00:00
Showing only changes of commit 7cf51f9b90 - Show all commits

View File

@ -52,8 +52,8 @@ func CreatePostInBatch(ctx context.Context, post []models.Post, batchSize int) e
})
span.SetAttributes(
attribute.Int64("batch_size", int64(batchSize)),
attribute.Int64("post_count", int64(len(post))),
attribute.Int("batch_size", batchSize),
attribute.Int("post_count", len(post)),
)
utils.HandleEvent(span, localLogger, "Starting batch post creation")