elastic / elastic/elastic-package

[Stream] Parameters for stream template runs

Open
#1,652 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
72
Forks
141
Avg merge
19h 42m
Merged PRs (30d)
55

Description

Currently, each time a benchmark / stream command is run, a template is referenced and it is used. It happens from time to time, that I want to tweak just 1-2 values be it the total number of events or the values of an enum. Currently there is no option to pass in params on the CLI.

Being able to pass in values on the CLI would also have the effect, that `elastic-package benchmark stream` could be used to simluate many shippers. As an example, I could run elastic-package 3 times and each time I pass in a sligthly different host name for the Elastic Agent and the number of events that would be created. Normally I would need to create 3 templates to make this happen.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the implementation of the `elastic-package benchmark stream` command and trace how it loads and applies templates. Determine how command-line parameters should override template values, then verify that repeated runs can use different host names, enum values, and event counts without requiring separate templates.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.