-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[discuss] Add support elastic agent policies and packages #1665
Comments
Hello, and thanks for considering Rally for your Elastic Agent benchmarking needs! I'll have to discuss more with the team, but it does look like at first sight that with our help you could add something like this to Rally without disrupting existing Elasticsearch users and reusing some of the Rally infrastructure. Sorry for the naive questions, but I'm not familiar with Elastic Agent and Fleet at all.
|
An elasticsearch setup with a fleet server and a kibana instance. Also having the required elastic agent hosts installed to use if needed to send the corpora data instead to do it directly to ES.
Both policy installation and package installation are done through the kibana fleet APIs The operations to send the data are the ones that I am more unsure about, since integrations can use a number of different inputs (https://www.elastic.co/guide/en/beats/filebeat/current/configuration-filebeat-options.html), so maybe this complexity could be taken out to an external tool that rally can reference as a single operation.
node stats, ingest pipelines and host metrics from the agent hosts (which I assume would use a new telemetry device from what you mention), also query performance of the dashboards, but I am pretty sure this is already in place |
that command support only synthetic benchmarks for pipelines, would be useful to extend it to be able to generate or use tracks like the ones described, for example, if this ends up being a thing |
hello, chiming in
we are working on a elastic-package command (elastic/elastic-package#1110) in order to generate rally tracks, we'd need the same support for packages installation through fleet API discussed here |
For some time we have been investigating what could be the best approach to have E2E benchmark capabilities for the
elastic-agent
integrations. Some PoC work has been done to both extend current tooling to be able to work withelastic-agent
and to figure out the best way to also extendelastic-package
to be able to run these benchmarks.A lot of the work required to happen in
elastic-package
(or in any new tool built for that purpose) would overlap with a lot ofrally
's functionality (mostly on reporting and being able to compare benchmark runs), and would most likely be lacking some ofrally
's other capabilities that could come as handy (for example setting up tracks with queries used in the dashboards built in the integrations).For this could be a good idea to explore extending
rally
in a way that can deal withelastic-agent
policies and work withcorpora
in a way that is useful for integrations.This changes do not intend to make
rally
handle the required infrastructure to hostelastic-agent
but to allow policies to be part of a track definition and benefit from its reporting and querying capabilities along with its already existing support in all the performance related ecosystem.An example of a possible track definition for an
elastic-agent
setup could be:This is adding some new elements:
policy
: defines a set of policies that can be usedinstall-package
that will configure the specific packagelog-write
that will write the logs fromcorpora
into a file at the specified hostsThis is just a first draft. Some things to be taken into account:
rally
can use.With this additions to rally we would be able to:
elastic-package
to launch tracks if neededelastic-agent
users.The text was updated successfully, but these errors were encountered: