Skip to content
Snippets Groups Projects
Commit ff750cf4 authored by MJB's avatar MJB
Browse files

removed global tags

parent b7c21d1d
No related branches found
No related tags found
No related merge requests found
......@@ -42,14 +42,9 @@ def generate_vm_config(state, cpu, mem, storage, time):
# Reports cpu usage, scaling on requests
def generate_cpu_report(loc, sfc, sfc_i, sf_package, sf_i, cpu_useage, cpu_usage_system, time):
def generate_cpu_report(cpu_useage, cpu_usage_system, time):
result = 'vm_host_cpu_usage'
# Tag
result += ',location='+quote_wrap(loc)
result += ',sfc='+quote_wrap(sfc)
result += ',sfc_i='+quote_wrap(sfc_i)
result += ',sf_package='+quote_wrap(sf_package)
result += ',sf_i='+quote_wrap(sf_i)
result += ' '
# field
result += 'cpu_usage='+str(cpu_useage)
......@@ -64,11 +59,11 @@ def generate_cpu_report(loc, sfc, sfc_i, sf_package, sf_i, cpu_useage, cpu_usage
# Reports response times, scaling on number of requests
def generate_mpegdash_report(resource, requests, avg_response_time, peak_response_time, time):
# Measurement
result = 'mpegdash_service '
result = 'mpegdash_service'
# Tags
# None
result += ',cont_nav=\"' + str(resource) + "\" "
# Fields
result += 'cont_nav=\"' + str(resource) + "\","
# result += 'cont_rep=' + str(quality) + ','
result += 'requests=' + str(requests) + ','
result += 'avg_response_time=' + str(avg_response_time) + ','
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment