Index: lnt/trunk/lnt/server/ui/static/lnt_graph.js =================================================================== --- lnt/trunk/lnt/server/ui/static/lnt_graph.js +++ lnt/trunk/lnt/server/ui/static/lnt_graph.js @@ -99,6 +99,10 @@ tip_body += "" + meta_data.title + "
"; } + if (meta_data.machine) { + tip_body += "Machine: " + meta_data.machine + "
"; + } + if (meta_data.test_name) { tip_body += "Test: " + meta_data.test_name + "
"; } Index: lnt/trunk/lnt/server/ui/views.py =================================================================== --- lnt/trunk/lnt/server/ui/views.py +++ lnt/trunk/lnt/server/ui/views.py @@ -955,7 +955,7 @@ data.sort(key=lambda sample: convert_revision(sample[0], cache=revision_cache)) - graph_datum.append((test.name, data, col, field, url)) + graph_datum.append((test.name, data, col, field, url, machine)) # Get baselines for this line num_baselines = len(baseline_parameters) @@ -1021,9 +1021,9 @@ # Sort data points according to revision number. data.sort(key=lambda sample: convert_revision(sample[0])) - graph_datum.append((test_name, data, col, field, None)) + graph_datum.append((test_name, data, col, field, None, machine)) - for name, data, col, field, url in graph_datum: + for name, data, col, field, url, machine in graph_datum: # Compute the graph points. errorbar_data = [] points_data = [] @@ -1062,6 +1062,7 @@ # Generate metadata. metadata = {"label": point_label} + metadata["machine"] = machine.name metadata["date"] = str(dates[agg_index]) if runs: metadata["runID"] = str(runs[agg_index])