fix(tracing): wrong attribute type

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

View File

@ -60,8 +60,8 @@ func CreateTagGroupInBatch(ctx context.Context, tagsGroups []models.TagGroup, ba
})
span.SetAttributes(
attribute.Int64("batch_size", int64(batchSize)),
attribute.Int64("tag_group_count", int64(len(tagsGroups))),
attribute.Int("batch_size", batchSize),
attribute.Int("tag_group_count", len(tagsGroups)),
)
utils.HandleEvent(span, localLogger, "Starting batch tag group creation")