Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
b580277
[8.15] Add three searches that fetch _source as separate challenges t…
martijnvg Jun 28, 2024
536056b
Update elastic/logs integrations to 8.13.3 (#613) (#628)
ebadyano Jul 15, 2024
0d3108f
Introduce an `index_mode` param into the `elastic/security` Rally tra…
salvatore-campagna Aug 21, 2024
e6ad5cc
fix: allow skipping delete of fleet component template (#642) (#643)
salvatore-campagna Aug 29, 2024
8d6076f
fix: skip deleting some required component templates for security (#645)
salvatore-campagna Aug 29, 2024
c77859e
Disallow usage of ilm lifecycle for serverless (#648)
salvatore-campagna Aug 30, 2024
fd21135
fix: prevent usage of ilm lifecycle in serverless (#651)
salvatore-campagna Sep 3, 2024
4bdaf2c
Synthetic source does not still support `copy_to` (#653)
salvatore-campagna Sep 5, 2024
2355ed9
[8.15] Keep array source in logsdb mode (#656)
kkrik-es Sep 9, 2024
822bf5c
Update to use JDK 21 for build (#660) (#663)
gareth-ellis Sep 16, 2024
fec60cc
Backport #661 (#662)
gareth-ellis Sep 16, 2024
7884032
Include ability to force merge segments in `elastic/security` (#657) …
salvatore-campagna Sep 17, 2024
0a8df44
Modify the default vector index type to int8_hnsw (#658) (#664)
mayya-sharipova Sep 17, 2024
48959b9
Re-enable `copy_to` into `elastic/security` (#667) (#669)
salvatore-campagna Sep 18, 2024
c485d3f
Enable `logsdb` index mode in security track (#670) (#674)
salvatore-campagna Sep 19, 2024
8a3529e
[8.15] Add logsdb support to http_logs track (#672) (#676)
martijnvg Sep 20, 2024
cf817c7
`host.name` is empty we need to use `host.hostname` (#678) (#679)
salvatore-campagna Sep 24, 2024
bd4905f
Add backport action (#599) (#680)
github-actions[bot] Sep 25, 2024
5a29e9b
Include a variable to control `synthetic_source_keep` parameter (#682…
salvatore-campagna Oct 1, 2024
c75145b
[8.15] Add synthetic_source_keep param to tsdb and http_logs tracks (…
martijnvg Oct 2, 2024
f89dfeb
Ignore VSCode files (#686) (#688)
github-actions[bot] Oct 2, 2024
5dfd9f5
Skip Fleet component templates in serverless (#697) (#700)
github-actions[bot] Oct 29, 2024
3ffdfd3
host.id has lower cardinality (#687) (#689)
github-actions[bot] Oct 29, 2024
6b46254
Add support for source mode to various tracks (#699)
github-actions[bot] Oct 30, 2024
9452aed
Backport/8.15/pr 675 (#695)
achuguy Nov 14, 2024
41b1dbc
Use polling mode for force merge in tsdb track (#707). (#709)
github-actions[bot] Dec 6, 2024
2378314
[8.15] Add recall and NDCG operations in msmarco-v2-vector (#710)
gareth-ellis Dec 16, 2024
b27efd0
Bump versions after 3.8 deprecation (#729) (#736)
gareth-ellis Jan 29, 2025
cc6c511
Deep terms agg (#733) (#735)
github-actions[bot] Jan 30, 2025
1ce2eba
Bump action versions (#724) (#763)
gareth-ellis Mar 24, 2025
f8d5b7b
Update backport.yml (#758) (#762)
gareth-ellis Mar 31, 2025
6532f10
[8.15] Pin distribution version in ITs
gbanasiak Jul 8, 2025
6c83a43
Revert "[8.15] Pin distribution version in ITs"
gbanasiak Jul 8, 2025
ce89741
Switch serverless ITs to vector-optimized serverless project (#795) (…
github-actions[bot] Jul 8, 2025
c442fba
Add extra cleanup fixture to ITs (#794) (#808)
github-actions[bot] Jul 8, 2025
6dd9845
Properly map the rally.doc_size and rally.message_size fields in elas…
github-actions[bot] Jul 8, 2025
69c8609
Switch to dedicated backport token (#811) (#817)
esbenchmachine Jul 11, 2025
85e6735
Limit CI workflow scope for pushes (#818) (#819)
esbenchmachine Jul 11, 2025
6d759d2
[8.15] Use distribution version in ITs (#812)
gbanasiak Jul 14, 2025
9c7cb69
Trim unnecessary ITs (#809) (#820)
gbanasiak Jul 18, 2025
689d524
Remove unnecessary dependency (#821) (#822)
esbenchmachine Jul 18, 2025
b32eb3f
Update README.md (#604) (#836)
esbenchmachine Aug 20, 2025
d1483c2
Just a comment
NickDris Aug 28, 2025
76391e7
Just another test
NickDris Aug 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .backportrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"repoOwner": "elastic",
"repoName": "rally-tracks",
"targetBranchChoices": [
"8.15",
"8.14",
"8.13"
],
"targetPRLabels": [
"backport"
],
"branchLabelMapping": {
"^backport-to-(.+)$": "$1"
},
"autoMerge": true,
"autoMergeMethod": "squash",
"prDescription": "{defaultPrDescription}\n\n<!--BACKPORT {commits} BACKPORT-->"
}
6 changes: 0 additions & 6 deletions .buildkite/it/pipeline.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .buildkite/it/run_serverless.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash

# this is a comment
# just another comment
set -eo pipefail

source .buildkite/retry.sh
Expand Down
3 changes: 2 additions & 1 deletion .buildkite/pull-requests.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
{
"enabled": true,
"pipeline_slug": "rally-tracks-it-serverless",
"allow_org_users": true
"allow_org_users": true,
"target_branch": "master"
}
]
}
28 changes: 28 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Automatic backport action

on:
pull_request_target:
branches: ['master']
types: ["labeled", "closed"]

jobs:
backport:
name: Backport PR
runs-on: ubuntu-latest
if: |
github.event.pull_request.merged == true
&& !contains(github.event.pull_request.labels.*.name, 'backport')
steps:
- name: Backport Action
uses: sorenlouv/backport-github-action@ad888e978060bc1b2798690dd9d03c4036560947 # v9.5.1
continue-on-error: true
with:
github_token: ${{ secrets.BACKPORT_TOKEN }}

- name: Info log
if: ${{ success() }}
run: cat ~/.backport/backport.info.log

- name: Debug log
if: ${{ failure() }}
run: cat ~/.backport/backport.debug.log
25 changes: 13 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: CI

on:
push:
branches: [ master, '[0-9]*' ]
pull_request:
schedule:
- cron: '0 14 * * *'
Expand All @@ -18,8 +19,8 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: pip
Expand All @@ -38,16 +39,16 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
os:
- macos-13
- ubuntu-latest

runs-on: ${{ matrix.os }}
name: unit ${{ fromJson('{"macos-13":"macOS","ubuntu-latest":"Ubuntu"}')[matrix.os] }} ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
Expand All @@ -67,23 +68,23 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.11"]
python-version: ["3.9", "3.12"]

runs-on: ubuntu-22.04

name: rally-tracks-compat ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: pyproject.toml
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"
- run: echo "JAVA17_HOME=$JAVA_HOME_17_X64" >> $GITHUB_ENV
java-version: "21"
- run: echo "JAVA21_HOME=$JAVA_HOME_21_X64" >> $GITHUB_ENV
- run: echo "JAVA11_HOME=$JAVA_HOME_11_X64" >> $GITHUB_ENV
- name: "Install dependencies"
run: python -m pip install .[develop]
Expand All @@ -101,7 +102,7 @@ jobs:
slack_channel: ${{ secrets.SLACK_CHANNEL }}
status: FAILED
# Artifact will show up under "Artifacts" in the "Summary" page of runs
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: rally-tracks-compat-logs-${{ matrix.python-version }}
Expand Down
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,10 @@ target/
.venv

# pytest
.pytest_cache
.pytest_cache

# Editors
*~
/.project
/.pydevproject
/.vscode
31 changes: 1 addition & 30 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,40 +21,11 @@ spec:
owner: group:es-perf
lifecycle: production
dependsOn:
- "resource:rally-tracks-it"
- "resource:rally-tracks-it-serverless"

# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
---
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: rally-tracks-it
description: Run Rally Tracks integration tests
links:
- title: Pipeline
url: https://buildkite.com/elastic/rally-tracks-it

spec:
type: buildkite-pipeline
owner: group:es-perf
system: buildkite

implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: Rally Tracks - IT
spec:
pipeline_file: .buildkite/it/pipeline.yml
repository: elastic/rally-tracks
teams:
es-perf: {}
everyone:
access_level: READ_ONLY

# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
Expand Down
2 changes: 1 addition & 1 deletion cohere_vector/index-vectors-only-mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dynamic": false,
{%- if build_flavor != "serverless" -%}
"_source": {
"enabled": false
"mode": "synthetic"
},
{%- endif -%}
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion dense_vector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ This track accepts the following parameters with Rally 0.8.0+ using `--track-par
* `number_of_replicas` (default: 0)
* `post_ingest_sleep` (default: false): Whether to pause after ingest and prior to subsequent operations.
* `post_ingest_sleep_duration` (default: 30): Sleep duration in seconds.
* `vector_index_type` (default: "hnsw"): The index kind for storing the vectors.
* `vector_index_type` (default: "int8_hnsw"): The index kind for storing the vectors.
2 changes: 1 addition & 1 deletion dense_vector/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"index" : true,
"similarity": "dot_product",
"index_options": {
"type": {{ vector_index_type | default("hnsw") | tojson }},
"type": {{ vector_index_type | default("int8_hnsw") | tojson }},
"m": 32,
"ef_construction": 100
}
Expand Down
2 changes: 2 additions & 0 deletions elastic/logs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ The following parameters are available:
* `corpora_uri_base` (default: `https://rally-tracks.elastic.co`) - Specify the base location of the datasets used by this track.
* `lifecycle` (default: unset to fall back on Serverless detection) - Specifies the lifecycle management feature to use for data streams. Use `ilm` for index lifecycle management or `dlm` for data lifecycle management. By default, `dlm` will be used for benchmarking Serverless Elasticsearch.
* `workflow-request-cache` (default: `true`) - Explicit control of request cache query parameter in searches executed in a workflow. This can be further overriden at an operation level with `request-cache` parameter.
* `synthetic_source_keep` (default: unset) - Allows overriding the default synthetic source behaviour for all field types with the following values: `none` (equivalent to unset) - no source is stored, `arrays` - source stored as is only for multi-value (array) fields.
* `source_mode` (default: unset) - Specifies the source mode to be used.

### Data Download Parameters

Expand Down
19 changes: 19 additions & 0 deletions elastic/logs/challenges/logging-querying.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,25 @@
{%- endif -%}{# non-serverless-index-statistics-marker-end #}
,
{% endif %}
{
"operation": "discovery-search-request-size-100",
"clients": 1,
"warmup-iterations": 0,
"iterations": 50
},
{
"operation": "discovery-search-request-size-500",
"clients": 1,
"warmup-iterations": 0,
"iterations": 50
},

{
"operation": "discovery-search-request-size-1000",
"clients": 1,
"warmup-iterations": 0,
"iterations": 50
},
{
"name": "logging-queries",
"parallel": {
Expand Down
Loading