fix: replace mutex with atomic operations to optimize loggedEvents ma… #5806
46.42% of diff hit (target 76.88%)
View this Pull Request on Codecov
46.42% of diff hit (target 76.88%)
Annotations
codecov / codecov/patch
processor/internal/transformer/destination_transformer/destination_transformer.go#L83-L85
Added lines #L83 - L85 were not covered by tests
codecov / codecov/patch
processor/internal/transformer/destination_transformer/destination_transformer.go#L395-L397
Added lines #L395 - L397 were not covered by tests
codecov / codecov/patch
processor/internal/transformer/destination_transformer/destination_transformer.go#L461-L462
Added lines #L461 - L462 were not covered by tests
Check warning on line 27 in processor/internal/transformer/destination_transformer/logger.go
codecov / codecov/patch
processor/internal/transformer/destination_transformer/logger.go#L24-L27
Added lines #L24 - L27 were not covered by tests
Check warning on line 29 in processor/internal/transformer/destination_transformer/logger.go
codecov / codecov/patch
processor/internal/transformer/destination_transformer/logger.go#L29
Added line #L29 was not covered by tests
Check warning on line 45 in processor/internal/transformer/destination_transformer/logger.go
codecov / codecov/patch
processor/internal/transformer/destination_transformer/logger.go#L40-L45
Added lines #L40 - L45 were not covered by tests
Check warning on line 50 in processor/internal/transformer/destination_transformer/logger.go
codecov / codecov/patch
processor/internal/transformer/destination_transformer/logger.go#L48-L50
Added lines #L48 - L50 were not covered by tests
Check warning on line 59 in processor/internal/transformer/destination_transformer/logger.go
codecov / codecov/patch
processor/internal/transformer/destination_transformer/logger.go#L54-L59
Added lines #L54 - L59 were not covered by tests