Skip to content

Performance testing for ingest pipelines #855

@adriansr

Description

@adriansr

This is a proposed first iteration of performance benchmarks for Elastic packages, part of a broader effort to provide tooling to fully understand the performance or storage impacts of changes to ingest pipelines and other assets.

The objective of this iteration is to provide visibility into a package's ingest-pipelines performance for a developer working on a package. To achieve this, it makes use of existing facilities and data already available to elastic-package in order to reduce development time and cross-team dependencies:

  • Uses existing Elasticsearch's Nodes Stats API , already used by elastic-package for pipeline coverage.
  • Uses existing testing logs/documents from ingest pipeline tests.
  • Reports it's output to stdout in a format similar to tests.
  • Works as an additional stage for pipeline tests (i.e. elastic-package test pipeline --bench), in opposition to a completely new action in elastic-agent (elastic-package benchmark pipeline). This reduces code complexity.

First stage

Further development

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions