Skip to content

Commit 93a145f

Browse files
authored
Adds system benchmarks command (#1232)
* Refactor benchmark command to make it easier to extend * Add new command and read config * Set up service and generator * Improve policy creation and add docker service deployer * Bump es api version * Add new options * Add new reportable types * Collect and report summary metrics * Add documentation * Add system benchmark test * Save report file * Ensure all data is generated previous to agents being assigned * Save file indented * Update readme * Lint * Make test faster * Go back to 7.17 client * fix tests * Change comments * Add monitoringenabled option * Update report.go * Delete outputs.go from kibana * Rename reports payload property * Remove pkg/errors from ingest, kibana, and servicedeployer * Amend const and comment * Avoid overriding configs unadvertedly * Change byte replace to strings.Replacer * Undo change in report benchmark command * Use policy template name to generate input name * Fix readme * Add corpora file to report * Cleanup corpora generated data * Fix lint error * Fix test package format * Fix lint errors * Fix processor error return * Rename folder to accomodate to spec * Add prefix check
1 parent e16c69e commit 93a145f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+3743
-865
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ These benchmarks allow you to benchmark any Ingest Node Pipelines defined by you
100100

101101
For details on how to configure pipeline benchmarks for a package, review the [HOWTO guide](./docs/howto/pipeline_benchmarking.md).
102102

103+
#### System Benchmarks
104+
105+
These benchmarks allow you to benchmark an integration end to end.
106+
107+
For details on how to configure system benchmarks for a package, review the [HOWTO guide](./docs/howto/system_benchmarking.md).
108+
103109
### `elastic-package benchmark generate-corpus`
104110

105111
_Context: package_
@@ -116,6 +122,12 @@ _Context: package_
116122

117123
Run pipeline benchmarks for the package.
118124

125+
### `elastic-package benchmark system`
126+
127+
_Context: package_
128+
129+
Run system benchmarks for the package.
130+
119131
### `elastic-package build`
120132

121133
_Context: package_

0 commit comments

Comments
 (0)