From e38171e53db15ea204e1acfd41097968cf007851 Mon Sep 17 00:00:00 2001 From: SoXX Date: Mon, 12 Aug 2024 11:53:48 +0200 Subject: [PATCH] fix(tracing): wrong attribute type changed attribute types in to Int --- pkg/database/source.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/database/source.go b/pkg/database/source.go index c5691d0..eab4530 100644 --- a/pkg/database/source.go +++ b/pkg/database/source.go @@ -52,8 +52,8 @@ func CreateSourceInBatch(ctx context.Context, source []models.Source, batchSize }) span.SetAttributes( - attribute.Int64("batch_size", int64(batchSize)), - attribute.Int64("source_count", int64(len(source))), + attribute.Int("batch_size", batchSize), + attribute.Int("source_count", len(source)), ) utils.HandleEvent(span, localLogger, "Starting batch source creation")