summaryrefslogtreecommitdiffstats
path: root/qtip/reporter/templates/timeline.j2
diff options
context:
space:
mode:
authorTaseer <taseer94@gmail.com>2017-03-09 12:05:46 +0500
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-03-21 09:09:10 +0000
commit19dd4962baca5d7103fe0de55d415e175dbe35e4 (patch)
treeab416a88be6066a0faefbf6f3d86f0a9d05a3044 /qtip/reporter/templates/timeline.j2
parent695a881515c40e29fc12eb5003e0f3682bc4d64b (diff)
Refactor reporter module
- Create templates for report format specific to each metric. - Outputs the details of the specified metric across all the nodes in cluster. - Timeline to be covered in a separate patch JIRA: QTIP-199 Change-Id: Ic83749725b0c9cc5bd9a7f24f21b2cd113abe0e1 Signed-off-by: Taseer Ahmed <taseer94@gmail.com> (cherry picked from commit 04e50e57819bdf40a2fd7abdd3fc7be798771e0b)
Diffstat (limited to 'qtip/reporter/templates/timeline.j2')
-rw-r--r--qtip/reporter/templates/timeline.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/qtip/reporter/templates/timeline.j2 b/qtip/reporter/templates/timeline.j2
index d4c95c46..ccb089e0 100644
--- a/qtip/reporter/templates/timeline.j2
+++ b/qtip/reporter/templates/timeline.j2
@@ -1,8 +1,8 @@
{{ title }}
{% for phase in phases %}
-{{ phase.name|upper }}{{ "TIME" }}
+{{ phase.name|upper }}{{ "TIME"}}
{% for cp in phase.checkpoints %}
-{{ cp.name }}{{ cp.timestamp}}
+{{ cp.name }}{{ cp.timestamp| indent(15, True)}}
{% endfor %}
{% endfor %}
Total: {{ total }}