fix(tracing): wrong attribute type

changed attribute types in to Int
This commit is contained in:
SoXX 2024-08-12 11:54:50 +02:00
parent e38171e53d
commit 6583ae7d29

View File

@ -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")