Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stress test modified to have a reader to force sdk to do aggregation #2646

Closed

Conversation

cijothomas
Copy link
Member

Without adding a reader, we'll assume @utpilla did unbelievable magic in #2596 and improved throughput from 7 M/sec to 70 M/sec. 😆

@cijothomas cijothomas requested a review from a team November 20, 2021 00:50
@codecov
Copy link

codecov bot commented Nov 20, 2021

Codecov Report

Merging #2646 (a97644b) into main (05cdc2c) will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2646      +/-   ##
==========================================
- Coverage   81.31%   81.28%   -0.04%     
==========================================
  Files         245      245              
  Lines        8645     8645              
==========================================
- Hits         7030     7027       -3     
- Misses       1615     1618       +3     
Impacted Files Coverage Δ
...emetry.Api/Internal/OpenTelemetryApiEventSource.cs 79.41% <0.00%> (-2.95%) ⬇️
...Telemetry/Internal/SelfDiagnosticsEventListener.cs 96.87% <0.00%> (-0.79%) ⬇️
src/OpenTelemetry/Metrics/AggregatorStore.cs 86.30% <0.00%> (-0.69%) ⬇️

using var meterProvider = Sdk.CreateMeterProviderBuilder()
.AddMeter(TestMeter.Name)
.AddReader(reader)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.AddReader(reader)
.AddInMemoryReader(new List<Metric>())

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See if #2640 is better.

@cijothomas
Copy link
Member Author

Closing in favor of #2640

@cijothomas cijothomas closed this Nov 20, 2021
@cijothomas cijothomas deleted the cijothomas/stresstestfix branch November 20, 2021 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants