elastic / hey-apm

Basic load generation for apm-server built on hey
Apache License 2.0
16 stars 16 forks source link

Allow configuring multiple worker instances #171

Closed simitt closed 4 years ago

simitt commented 4 years ago

Add config option -instances: Allow configuring multiple worker instances and ensure every worker instance has it's own apm tracer with a dedicated apm transport.

Add config option -delay: Allow configuring a random delay before starting the worker instances, to avoid multiple workers send requests at the same time and then backoff at the same time, if the targeted server is overloaded

Ensure the used roundtripper adheres to configuration options from the apm agent, eg. SSL settings via ENV variables.

~Upgrade to latest apm agent version.~

apmmachine commented 4 years ago

:green_heart: Build Succeeded

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

#### Build stats * Build Cause: `[Pull request #171 updated]` * Start Time: 2020-06-29T06:35:45.034+0000 * Duration: 4 min 54 sec #### Test stats :test_tube: | Test | Results | | ------------ | :-----------------------------: | | Failed | 0 | | Passed | 9 | | Skipped | 0 | | Total | 9 |

simitt commented 4 years ago

Pulled out unrelated changes to dedicated PR https://github.com/elastic/hey-apm/pull/172