From 0a8f84bb159873525135f537d0d5e87ac6c8dcfa Mon Sep 17 00:00:00 2001 From: SoXX Date: Mon, 12 Aug 2024 11:54:53 +0200 Subject: [PATCH] fix(tracing): wrong attribute type changed attribute types in to Int --- pkg/database/tagGroup.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/database/tagGroup.go b/pkg/database/tagGroup.go index a09a4e8..39940b6 100644 --- a/pkg/database/tagGroup.go +++ b/pkg/database/tagGroup.go @@ -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")