Skip to content
Snippets Groups Projects
Commit e5bd5cbf authored by Stephen C Phillips's avatar Stephen C Phillips
Browse files

Changes "e2e_delay" and "delay" to "latency". Fixes spelling of "response"

parent 3ec86336
No related branches found
No related tags found
No related merge requests found
......@@ -64,14 +64,14 @@ def generate_e2e_delay_report(path_id, source_sfr, target_sfr, endpoint, sf_inst
return result
def generate_network_delay_report(path_id, source_sfr, target_sfr, e2e_delay, time):
def generate_network_delay_report(path_id, source_sfr, target_sfr, latency, time):
"""
Generates a platform measurement about the network delay between two specific service routers.
:param path_id: the identifier of the path between the two service routers
:param source_sfr: the source service router
:param target_sfr: the target service router
:param e2e_delay: the e2e network delay for traversing the path between the two service routers
:param latency: the e2e network delay for traversing the path between the two service routers
:param time: the measurement timestamp
:return: a list of dict-formatted reports to post on influx
"""
......@@ -83,7 +83,7 @@ def generate_network_delay_report(path_id, source_sfr, target_sfr, e2e_delay, ti
"target": target_sfr
},
"fields": {
"delay": e2e_delay
"latency": latency
},
"time": _getNSTime(time)
}]
......@@ -114,7 +114,7 @@ def generate_service_delay_report(endpoint, sf_instance, sfr, response_time, req
"fields": {
"response_time": response_time,
"request_size": request_size,
"respose_size": response_size
"response_size": response_size
},
"time": _getNSTime(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