Skip to content

Commit

Permalink
Show both median and mean ML processing time (#1473)
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin committed Apr 11, 2022
1 parent 315a098 commit 606c7f5
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions esrally/chart_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,32 @@ def ml_processing_time(title, environment, race_config):
"index_pattern": "rally-results-*",
"interval": "1d",
"series": [
{
"axis_position": "left",
"chart_type": "line",
"color": "#68BC00",
"fill": "0",
"formatter": "number",
"id": str(uuid.uuid4()),
"line_width": "1",
"metrics": [{"id": str(uuid.uuid4()), "type": "avg", "field": "value.mean"}],
"point_size": "3",
"seperate_axis": 1,
"split_mode": "filters",
"stacked": "none",
"filter": "",
"split_filters": [
{
"filter": "ml_processing_time",
"label": "Mean ML processing time",
"color": color_scheme_rgba[1],
"id": str(uuid.uuid4()),
}
],
"label": "ML Mean Time",
"value_template": "{{value}}",
"steps": 0,
},
{
"axis_position": "left",
"chart_type": "line",
Expand All @@ -878,14 +904,14 @@ def ml_processing_time(title, environment, race_config):
{
"filter": "ml_processing_time",
"label": "Median ML processing time",
"color": "rgba(0,191,179,1)",
"color": color_scheme_rgba[0],
"id": str(uuid.uuid4()),
}
],
"label": "ML Time",
"label": "ML Median Time",
"value_template": "{{value}}",
"steps": 0,
}
},
],
"show_legend": 1,
"show_grid": 1,
Expand Down

0 comments on commit 606c7f5

Please sign in to comment.