From 6583ae7d29f3846a1fef8dbafe8940714e9fc9be Mon Sep 17 00:00:00 2001 From: SoXX Date: Mon, 12 Aug 2024 11:54:50 +0200 Subject: [PATCH] fix(tracing): wrong attribute type changed attribute types in to Int --- pkg/database/tag.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")