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