question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Chart Generator: Support multiple indexing tasks in the same challenge

See original GitHub issue

The Rally chart generator does not appear to support parallel tasks, as defined in the dense vector track. The following command does not produce charts for operations in parallel tasks:

$ esrally generate charts --configuration-name=nightly --chart-spec-path=~/dev/src/night-rally/night_rally/resources/race-configs-group-3.json --chart-type=time-series --output-path=~/tmp/nightly-dv-charts.ndjson

    ____        ____
   / __ \____ _/ / /_  __
  / /_/ / __ `/ / / / / /
 / _, _/ /_/ / / / /_/ /
/_/ |_|\__,_/_/_/\__, /
                /____/

[INFO] Loading track data...
[INFO] Generating charts...
[INFO] Found [bulk-index] of type [raw-bulk] in [logging-indexing], adding it to indexing dashboard.

[INFO] Found [bulk-index-initial-load] of type [raw-bulk] in [security-indexing-querying], adding it to indexing dashboard.

[INFO] Found [bulk-index] of type [raw-bulk] in [security-indexing], adding it to indexing dashboard.

@pquentin @mayya-sharipova this is required for dense vector track chart generation.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
pquentincommented, Jun 17, 2022

We actually have the same issue for the many-shards benchmark, so we’ll support this eventually but for now we’ll manually edit the labels before uploading.

1reaction
pquentincommented, Jun 16, 2022

The issue isn’t about parallel tasks, we support them just fine. What’s going on is that we have two indexing tasks in the same challenge, which isn’t supported (the query chart is OK). So we do have two indexing tasks, but they’re both named “add-4g-1node”. We can see this clearly when looking at the generated charts with a 90 days interval:

image

There are two ways to get out of here:

  • Modify the track to include two challenges, each one of them performing a single indexing task (one parallel, one not)
  • Modify all the indexing charts to add the name of the task in the legend, eg we would have “add-4g-1node-index-append” and “add-4g-1node-index-update-concurrent-with-searches” which would be verbose but explicit.

@mayya-sharipova Is it important to you to have a single challenge?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to make multi-index index charts with Plotly
There is a better way to index data: multi-indexing. Read on to learn how to improve your index charts with the Python Plotly...
Read more >
What is hashing and how does it work? - TechTarget
A hash table stores key and value pairs in a list that is accessible through its index. Because key and value pairs are...
Read more >
Distribute project work evenly (level resource assignments)
To allow leveling to adjust when a resource works on a task independently of other resources that are working on the same task,...
Read more >
RDD Programming Guide - Spark 3.3.1 Documentation
Sometimes, a variable needs to be shared across tasks, or between tasks and the driver program. Spark supports two types of shared variables:...
Read more >
How To Create a Project Timeline In 7 Simple Steps - Asana
Timelines are a great way to visualize your project plan. Learn how to create a project timeline using these seven simple steps.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found