fix(tracing): wrong attribute type
Some checks failed
Gitea Build Check / Build (push) Failing after 30s

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

View File

@ -59,8 +59,8 @@ func CreateTagAliasInBatch(ctx context.Context, tagsAliases []models.TagAlias, b
}) })
span.SetAttributes( span.SetAttributes(
attribute.Int64("batch_size", int64(batchSize)), attribute.Int("batch_size", batchSize),
attribute.Int64("tag_aliases_count", int64(len(tagsAliases))), attribute.Int("tag_aliases_count", len(tagsAliases)),
) )
utils.HandleEvent(span, localLogger, "Starting batch tag alias creation") utils.HandleEvent(span, localLogger, "Starting batch tag alias creation")