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