-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
156 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
spec: | ||
type: object | ||
additionalProperties: false | ||
required: | ||
- data_stream | ||
- input | ||
properties: | ||
package: | ||
description: The package to benchmark. | ||
type: string | ||
description: | ||
description: A description of the benchmark scenario. | ||
type: string | ||
version: | ||
$ref: "../../manifest.spec.yml#/definitions/version" | ||
input: | ||
description: The input of the package to benchmark. | ||
type: string | ||
vars: | ||
description: The package level variables. | ||
type: | ||
- object | ||
- "null" | ||
additionalProperties: true | ||
data_stream: | ||
description: Data-stream parameters. | ||
type: object | ||
additionalProperties: false | ||
required: | ||
- name | ||
properties: | ||
name: | ||
description: The name of the data_stream to benchmark. | ||
type: string | ||
vars: | ||
description: The data_stream specific variables. | ||
type: | ||
- object | ||
- "null" | ||
additionalProperties: true | ||
warmup_time_period: | ||
description: | | ||
A time period as a duration string for warmup of the benchmark. | ||
All response data captured during warmup will not show up in the measurement results. | ||
By default the value is 0 seconds, which means that all data captured will be taken into account for the benchmark results. | ||
type: string | ||
default: "" | ||
example: 10s | ||
benchmark_time_period: | ||
description: | | ||
A time period as a duration string for the duration of the benchmark. | ||
By default the value is 0 seconds, which means that the benchmark will run until no more data is ingested. | ||
type: string | ||
default: "" | ||
example: 10m | ||
wait_for_data_timeout: | ||
description: Timeout for waiting for metrics data during a system test. | ||
type: string | ||
example: 10m | ||
corpora: | ||
description: Corpora settings. | ||
type: object | ||
additionalProperties: false | ||
properties: | ||
generator: | ||
description: Configuration for the corpus generator. | ||
type: object | ||
additionalProperties: false | ||
required: | ||
- size | ||
- template | ||
- config | ||
- fields | ||
properties: | ||
size: | ||
description: A string describing the amount of data to generate. | ||
type: string | ||
example: 10MiB | ||
template: | ||
description: Configuration for the generator template. | ||
type: object | ||
additionalProperties: false | ||
properties: | ||
raw: | ||
description: Raw template. | ||
type: string | ||
path: | ||
description: Template path. | ||
type: string | ||
type: | ||
description: The type of template. | ||
type: string | ||
enum: | ||
- "" | ||
- placeholder | ||
- gotext | ||
config: | ||
description: Configuration for the generator. | ||
type: object | ||
additionalProperties: false | ||
properties: | ||
raw: | ||
description: Raw config. | ||
type: object | ||
additionalProperties: true | ||
path: | ||
description: Config path. | ||
type: string | ||
fields: | ||
description: Fields description for the generator. | ||
type: object | ||
additionalProperties: false | ||
properties: | ||
raw: | ||
description: Raw fields. | ||
type: object | ||
additionalProperties: true | ||
path: | ||
description: Fields path. | ||
type: string | ||
input_service: | ||
description: Options for the service (found in ./deploy/docker) that will send corpora logs to the elastic agents. | ||
type: object | ||
additionalProperties: false | ||
required: | ||
- name | ||
properties: | ||
name: | ||
description: The name of the input service. | ||
type: string | ||
signal: | ||
description: The signal to send to the service once the benchmark is ready to start. | ||
type: string | ||
example: SIGHUP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
test/packages/integration_benchmarks/_dev/benchmark/system/tcp-benchmark.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
description: Benchmark 100MiB of data ingested | ||
input: tcp | ||
vars: ~ | ||
data_stream.name: test | ||
data_stream.vars.paths: | ||
- "{{SERVICE_LOGS_DIR}}/corpus-*" | ||
warmup_time_period: 10s | ||
corpora.generator.size: 20MiB | ||
corpora.generator.template.raw: a template | ||
corpora.generator.config.path: ./20mb-logs-benchmark/config.yml | ||
corpora.generator.fields.path: ./20mb-logs-benchmark/fields.yml | ||
corpora.input_service.name: foo | ||
corpora.input_service.signal: SIGHUP |
7 changes: 0 additions & 7 deletions
7
test/packages/integration_benchmarks/_dev/benchmarks/e2e/tcp-benchmark.yml
This file was deleted.
Oops, something went wrong.