Skip to content

Commit

Permalink
Adds system benchmarks command (#1232)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
marc-gr authored Jun 22, 2023
1 parent e16c69e commit 93a145f
Show file tree
Hide file tree
Showing 66 changed files with 3,743 additions and 865 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ These benchmarks allow you to benchmark any Ingest Node Pipelines defined by you

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

#### System Benchmarks

These benchmarks allow you to benchmark an integration end to end.

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

### `elastic-package benchmark generate-corpus`

_Context: package_
Expand All @@ -116,6 +122,12 @@ _Context: package_

Run pipeline benchmarks for the package.

### `elastic-package benchmark system`

_Context: package_

Run system benchmarks for the package.

### `elastic-package build`

_Context: package_
Expand Down
Loading

0 comments on commit 93a145f

Please sign in to comment.