SDK v3 #8
@ -59,8 +59,8 @@ func CreateTagInBatch(ctx context.Context, tags []models.Tag, batchSize int) err
|
|||||||
})
|
})
|
||||||
|
|
||||||
span.SetAttributes(
|
span.SetAttributes(
|
||||||
attribute.Int64("batch_size", int64(batchSize)),
|
attribute.Int("batch_size", batchSize),
|
||||||
attribute.Int64("tag_count", int64(len(tags))),
|
attribute.Int("tag_count", len(tags)),
|
||||||
)
|
)
|
||||||
|
|
||||||
utils.HandleEvent(span, localLogger, "Starting batch tag creation")
|
utils.HandleEvent(span, localLogger, "Starting batch tag creation")
|
||||||
|
Loading…
Reference in New Issue
Block a user