Skip to content

Conversation

ruflin
Copy link
Contributor

@ruflin ruflin commented Jan 22, 2024

For someone to run benchmarks or ingest sample data it is currently not easy to find the packages that have templates for benchmarks available. This is a quick POC on how the list of integrations with benchmarks can be generated. Some ideas on how this could be used:

  • Add the list to the docs page around streaming data. Downside is that it needs to be manually (or automatically) updated from time to time
  • Add some command to elastic-package to list the packages with templates
  • Other ideas?

The current output of the script looks as following:

python list_benchmark_packages.py

Package: nginx
* stubstatus-benchmark
* error-benchmark

Package: mysql
* performance-benchmark

Package: aws
* sqs-benchmark
* ec2metrics-benchmark
* billing-benchmark
* ec2logs-benchmark

Package: kubernetes
* container-benchmark
* pod-benchmark

NOTE: I don't expect this PR to be merged, it is more how to generate something like this with and the code is to better explain the expectations.

For someone to run benchmarks or ingest sample data it is currently not easy to find the packages that have templates for benchmarks available. This is a quick POC on how the list of integrations with benchmarks can be generated. Some ideas on how this could be used:

* Add the list to the docs page around streaming data. Downside is that it needs to be manually (or automatically) updated from time to time
* Add some command to elastic-package to list the packages with templates
* Other ideas?

The current output of the script looks as following:

```
python list_benchmark_packages.py

Package: nginx
* stubstatus-benchmark
* error-benchmark

Package: mysql
* performance-benchmark

Package: aws
* sqs-benchmark
* ec2metrics-benchmark
* billing-benchmark
* ec2logs-benchmark

Package: kubernetes
* container-benchmark
* pod-benchmark
@ruflin
Copy link
Contributor Author

ruflin commented Jan 22, 2024

@jsoriano Do we have currently some other examples where users need to list X with elastic-package? It sounds a bit similar to search but is based on files.

@bhapas
Copy link
Contributor

bhapas commented Jan 22, 2024

/test

@elasticmachine
Copy link
Collaborator

elasticmachine commented Jan 22, 2024

@aspacca
Copy link
Contributor

aspacca commented Jan 23, 2024

  • Add some command to elastic-package to list the packages with templates

+1 on this solution

@ruflin ruflin assigned lalit-satapathy and unassigned ruflin Apr 12, 2024
@ruflin
Copy link
Contributor Author

ruflin commented Apr 12, 2024

@lalit-satapathy Move over to you as I think this is a nice way on how to show which packages have a benchmark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants