SDK v3 #8
@ -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