diff --git a/tibanna/_version.py b/tibanna/_version.py
index 8895f9c86..7af6cacd1 100755
--- a/tibanna/_version.py
+++ b/tibanna/_version.py
@@ -1,4 +1,4 @@
"""Version information."""
# The following line *must* be the last in the module, exactly as formatted:
-__version__ = "1.0.2"
+__version__ = "1.0.4"
diff --git a/tibanna/cw_utils.py b/tibanna/cw_utils.py
index 10fdfa68d..02f2d08f1 100755
--- a/tibanna/cw_utils.py
+++ b/tibanna/cw_utils.py
@@ -22,6 +22,7 @@ class TibannaResource(object):
"""
timestamp_format = '%Y-%m-%d %H:%M:%S'
+ report_title = 'Tibanna Metrics'
@classmethod
def convert_timestamp_to_datetime(cls, timestamp):
@@ -322,7 +323,7 @@ def write_html(self, instance_type, directory):
self.check_mkdir(directory)
filename = directory + '/' + 'metrics.html'
with open(filename, 'w') as fo:
- fo.write(self.create_html() % (instance_type,
+ fo.write(self.create_html() % (self.report_title, instance_type,
str(self.max_mem_used_MB), str(self.min_mem_available_MB), str(self.max_disk_space_used_GB),
str(self.max_mem_utilization_percent), str(self.max_cpu_utilization_percent),
str(self.max_disk_space_utilization_percent),
@@ -356,7 +357,7 @@ def update_html(cls, bucket, prefix, directory='.', upload_new=True):
instance = d['Instance_Type'] if 'Instance_Type' in d else '---'
# writing
with open(filename, 'w') as fo:
- fo.write(cls.create_html() % (instance,
+ fo.write(cls.create_html() % (cls.report_title, instance,
d['Maximum_Memory_Used_Mb'], d['Minimum_Memory_Available_Mb'], d['Maximum_Disk_Used_Gb'],
d['Maximum_Memory_Utilization'], d['Maximum_CPU_Utilization'], d['Maximum_Disk_Utilization'],
cost,
@@ -438,7 +439,9 @@ def create_html(cls):