Skip to content

Performance is slow across Amazon Linux 2 and Amazon Linux 2023 #2045

Open
@birojnayak

Description

@birojnayak

Component

OpenTelemetry.Sampler.AWS

Package Version

Package Name Version
OpenTelemetry.Api 1.8.0
OpenTelemetry 1.8.0
TBD TBD

Runtime Version

net6.0

Description

While benchmarking OpenTelemetry.Sampler.AWS we found that under heavy load (under multi threading), the library performance is low(TPS) in Aaazon Linux 2 when compared to Amazon Linux 20203. The library unnecessarily writing same events (same , repeated infos) to event source which is not needed. Due to this, TPS never reaches 400.

Steps to Reproduce

Details present in the issue Dotnet runtime

Expected Result

It should write information (to event source) only when needed to provide useful information to customer.

Actual Result

We saw several calls to eventsource with same informations.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcomp:sampler.awsThings related to OpenTelemetry.Samplers.AWS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions