diff --git a/pkg/database/tag.go b/pkg/database/tag.go index cd40dd0..342285a 100644 --- a/pkg/database/tag.go +++ b/pkg/database/tag.go @@ -59,8 +59,8 @@ func CreateTagInBatch(ctx context.Context, tags []models.Tag, batchSize int) err }) span.SetAttributes( - attribute.Int64("batch_size", int64(batchSize)), - attribute.Int64("tag_count", int64(len(tags))), + attribute.Int("batch_size", batchSize), + attribute.Int("tag_count", len(tags)), ) utils.HandleEvent(span, localLogger, "Starting batch tag creation")