Skip to content

Commit

Permalink
Detect and handle missing data
Browse files Browse the repository at this point in the history
Closes elastic#4
  • Loading branch information
danielmitterdorfer committed Oct 21, 2016
1 parent 8b3a884 commit 83900fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions night_rally.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,14 @@ def report(effective_start_date, tracks, default_setup_per_track, release_name,

if "segment_count" in metrics:
segment_count_metrics.append(metrics["segment_count"])
else:
segment_count_metrics.append("")

# Beware: this one is one column per series!
if "median_indexing_throughput" in metrics:
indexing_throughput_metrics.append(metrics["median_indexing_throughput"])
else:
indexing_throughput_metrics.append("")

if current_is_default and "cpu_usage" in metrics:
cpu_usage = "%s\n" % metrics["cpu_usage"]
Expand Down

0 comments on commit 83900fd

Please sign in to comment.