fix(tracing): wrong attribute type
changed attribute types in to Int
This commit is contained in:
parent
ae7bc131f7
commit
9d9b354698
@ -52,8 +52,8 @@ func CreateUserFavoriteInBatch(ctx context.Context, userFav []models.UserFavorit
|
|||||||
})
|
})
|
||||||
|
|
||||||
span.SetAttributes(
|
span.SetAttributes(
|
||||||
attribute.Int64("batch_size", int64(batchSize)),
|
attribute.Int("batch_size", batchSize),
|
||||||
attribute.Int64("user_favorite_count", int64(len(userFav))),
|
attribute.Int("user_favorite_count", len(userFav)),
|
||||||
)
|
)
|
||||||
|
|
||||||
utils.HandleEvent(span, localLogger, "Starting batch user favorite creation")
|
utils.HandleEvent(span, localLogger, "Starting batch user favorite creation")
|
||||||
|
Loading…
Reference in New Issue
Block a user