accessing-benchmark-results
Skill2k starsChanged 5 months agoApache-2.0View on GitHub
Retrieve Rally benchmark results from an external Elasticsearch metrics store. Use to list past races, get a single race's overall (per-task) results, chart a metric's trend across multiple runs, compare two races, or check whether a run converged — e.g. "show me recent geonames races", "what's the service_time trend for nyc_taxis over the last 30 days?", "compare these two race-ids". Applies when datastore.type = elasticsearch is set in ~/.rally/rally.ini.
Trending
Quiet since March.thin dataabout the whole repository
Who's talking about elastic/rally
- elastic/elasticsearch“ANN search improvements”GitHub · Feb 24, 2022 · 22 reactions
- elastic/kibana“[Stack Monitoring] Ingest pipeline monitoring”GitHub · Jul 25, 2019 · 8 reactions
- elastic/rally-tracks“Account for multiple drivers in ESQL profiling”GitHub · Mar 3, 2026 · 1 reactions
- elastic/rally-tracks“Add CCR/CSS challenge to elastic/logs”GitHub · Aug 10, 2022 · 1 reactions
- opensearch-project/OpenSearch“Search Benchmark testing”GitHub · Feb 11, 2021 · 1 reactions
The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 9
Talked about on GitHub (9 times).
On GitHub · 9
- Feb 24, 2022ANN search improvements — elastic/elasticsearch22 reactions · 11 comments
- Jul 25, 2019[Stack Monitoring] Ingest pipeline monitoring — elastic/kibana8 reactions · 13 comments
- Mar 3, 2026Account for multiple drivers in ESQL profiling — elastic/rally-tracks1 reaction · 2 comments
- Aug 10, 2022Add CCR/CSS challenge to elastic/logs — elastic/rally-tracks1 reaction · 2 comments
- Feb 11, 2021Search Benchmark testing — opensearch-project/OpenSearchsays it tested it1 reaction · 1 comment
4 more on GitHub
- Oct 23, 2018Add proxy support for urllib3 — elastic/elastic-transport-python1 reaction · 3 comments
- Mar 17, 2021elasticsearch数据集 — cloudnativecube/octopus0 reactions
- Nov 3, 2020Throttle scrolls based on pages/s instead of ops/s — elastic/rally-tracks0 reactions · 1 comment
- Nov 3, 2020Throttle bulk-indexing based on docs/s instead of ops/s — elastic/rally-eventdata-track0 reactions
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- developing-rallySkill
- running-benchmarksSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Check for an existing report first: If the race was launched via the running-benchmarks skill with --report-file (e.g.
- Very specific: line 80
Run these against the metrics store cluster with any Elasticsearch client, curl, or Kibana Dev Tools.
- Very specific: line 130
When you want more than esrally compare shows, pull each race's per-task stats and diff them client-side.
- Very specific: line 149
Use this to check whether a race reached steady state before you trust its numbers.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Accessing Rally benchmark results
Rally can persist every race to a dedicated Elasticsearch metrics store (set
datastore.type = elasticsearch in the [reporting] section of ~/.rally/rally.ini;
see docs/configuration.rst). This skill covers reading that data back — overall results,
trends across runs, comparisons, and convergence checks.
The metrics store is a separate cluster from the one under test. Point queries at the
metrics store host from [reporting], never at the benchmark target.
Check for an existing report first. If the race was launched via the
running-benchmarks skill with --report-file (e.g. ~/benchmarks/result.md), the
summary report for that single race is already saved on disk — read that file instead of
re-querying. Use this skill's queries for anything the saved report doesn't cover: trends
across runs, comparisons, convergence, or ad-hoc aggregations.
When to use
- Browsing past races for a track or time range.
- Getting one race's overall per-task results (throughput, latency, service_time).
- Charting how a metric moved across runs (regression / improvement detection).
- Comparing two specific races to quantify a change.
- Checking whether a run's metrics stabilized (converged) over its duration.
Where the data lives
By default (datastore.use_data_streams = true) Rally writes to three versioned data streams
(rally-races-v*, rally-results-v*, and rally-metrics-v*; current version is in
docs/metrics.rst). If you set datastore.use_data_streams = false, Rally writes to monthly
indices instead (rally-races-YYYY-MM, rally-results-YYYY-MM, rally-metrics-YYYY-MM).
Querying with a wildcard (rally-races-*, rally-results-*, rally-metrics-*) covers both
layouts.
| Stream / index | One doc per | Contains |
rally-races-* | race | race metadata: track, challenge, car, timestamps, user tags |
rally-results-* | task+metric | aggregated results — the summary-report numbers |
rally-metrics-* | sample | raw time-series samples + node/GC/segment metrics |
Key fields (docs/metrics.rst)
race-id (UUID grouping a run), race-timestamp, @timestamp (epoch ms per sample),
relative-time (ms since the current task started), track, challenge, car, environment,
sample-type (normal = measured samples, warmup = warmup-phase samples), name (metric name, e.g.
service_time), value, unit, task, operation, operation-type, and meta.*
(host/CPU/OS info, source_revision, distribution_version, and user tags stored as
meta.tag_<key>).
Metric direction: for latency, service_time, processing_time, and GC time, lower
is better; for throughput, higher is better.
Prefer the built-in commands
Two operations need no query — Rally reads the configured datastore directly:
# List past races (filter by track and/or user tags); note the race-ids.
esrally list races --track=pmc --user-tags="intention:baseline-8.x"
# Quantify the difference between two races.
esrally compare --baseline=<race-id> --contender=<race-id>See docs/tournament.rst. Reach for direct queries below when you need trends,
aggregations, or fields these commands don't expose.
Direct queries
Run these against the metrics store cluster with any Elasticsearch client, curl, or
Kibana Dev Tools. Build complex request bodies programmatically (e.g. a Python dict +
json.dumps) rather than hand-writing nested heredocs.
List recent races for a track
GET rally-races-*/_search
{ "size": 20, "sort": [{"race-timestamp": "desc"}],
"query": {"bool": {"filter": [{"term": {"track": "pmc"}}]}} }Get one race's overall results (per task)
Task and operation names are track-specific — discover them with esrally info --track=<track>.
Omit the task filter to return every task.
GET rally-results-*/_search
{ "size": 200,
"query": {"bool": {"filter": [
{"term": {"race-id": "<uuid>"}},
{"term": {"task": "<task>"}}
]}} }Trend of a metric across runs
One row per race; expand size/range as needed.
GET rally-metrics-*/_search
{ "size": 0,
"query": {"bool": {"filter": [
{"term": {"track": "geonames"}},
{"term": {"task": "<task>"}},
{"term": {"name": "service_time"}},
{"term": {"sample-type": "normal"}},
{"range": {"@timestamp": {"gte": "now-30d"}}}
]}},
"aggs": {"by_race": {
"terms": {"field": "race-id", "size": 100, "order": {"ts": "asc"}},
"aggs": {
"ts": {"min": {"field": "@timestamp"}},
"pcts": {"percentiles": {"field": "value", "percents": [50, 90, 99]}}
}}} }Compare two races by query
When you want more than esrally compare shows, pull each race's per-task stats and diff
them client-side. For latency/service_time a positive delta is a regression; for throughput
a negative delta is a regression.
GET rally-metrics-*/_search
{ "size": 0,
"query": {"bool": {"filter": [
{"terms": {"race-id": ["<baseline-uuid>", "<contender-uuid>"]}},
{"term": {"name": "service_time"}},
{"term": {"sample-type": "normal"}}
]}},
"aggs": {"by_race": {"terms": {"field": "race-id", "size": 2},
"aggs": {"by_task": {"terms": {"field": "task", "size": 100},
"aggs": {"pcts": {"percentiles": {"field": "value", "percents": [50, 90, 99]}}}}}}} }Convergence / stability check
Use this to check whether a race reached steady state before you trust its numbers. The
query splits one task's service_time samples into up to ~60 time buckets and reports p50/p90/p99
for each. If those percentiles level off toward the end of the run, the workload converged and
the results are stable; if they keep drifting, the numbers are unreliable — rerun with a longer
warmup or more iterations.
GET rally-metrics-*/_search
{ "size": 0,
"query": {"bool": {"filter": [
{"term": {"race-id": "<uuid>"}},
{"term": {"name": "service_time"}},
{"term": {"task": "<task>"}}
]}},
"aggs": {"over_time": {
"auto_date_histogram": {"field": "@timestamp", "buckets": 60},
"aggs": {"pcts": {"percentiles": {"field": "value", "percents": [50, 90, 99]}}}
}} }Filter by a user tag
Tags passed via --user-tags are stored under meta.tag_<key>. Add to any filter:
{"term": {"meta.tag_intention": "baseline-8.x"}}Notes
- Exclude warmup with
{"term": {"sample-type": "normal"}}for reported metrics — unless you specifically want to study cold-start behaviour, in which case keep thewarmupsamples. taskis unique per invocation of an operation;operationmay repeat.task/operationare only set onlatency/throughput/service_timesamples.- Node-level metrics (GC, segments, store size) are only present when Rally provisioned the
cluster or the
node-statstelemetry device was enabled (docs/telemetry.rst).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

