X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_cpta.py;h=8d10e15a4978082844fa0ced05afa25ff87ff5dd;hb=4f4441a7ae175cda9ac55dc23a94099617bea293;hp=401767042716a4baae8d7fc3d0ccde4b976aa6c6;hpb=b55e324d526e5b05baef015c3614b9743c955992;p=csit.git diff --git a/resources/tools/presentation/generator_cpta.py b/resources/tools/presentation/generator_cpta.py index 4017670427..8d10e15a49 100644 --- a/resources/tools/presentation/generator_cpta.py +++ b/resources/tools/presentation/generator_cpta.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -247,7 +247,7 @@ def _generate_trending_traces(in_data, job_name, build_info, u"symbol": u"circle", }, text=hover_text, - hoverinfo=u"text" + hoverinfo=u"text+name" ) traces = [trace_samples, ] @@ -359,10 +359,15 @@ def _generate_all_charts(spec, input_data): if graph.get(u"include", None): data = input_data.filter_tests_by_name( - graph, continue_on_error=True + graph, + params=[u"type", u"result", u"tags"], + continue_on_error=True ) else: - data = input_data.filter_data(graph, continue_on_error=True) + data = input_data.filter_data( + graph, + params=[u"type", u"result", u"tags"], + continue_on_error=True) if data is None or data.empty: logging.error(u"No data.")