Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
flame-clmc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flame
flame-clmc
Commits
e5bd5cbf
Commit
e5bd5cbf
authored
6 years ago
by
Stephen C Phillips
Browse files
Options
Downloads
Patches
Plain Diff
Changes "e2e_delay" and "delay" to "latency". Fixes spelling of "response"
parent
3ec86336
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
clmctest/monitoring/LineProtocolGenerator.py
+4
-4
4 additions, 4 deletions
clmctest/monitoring/LineProtocolGenerator.py
with
4 additions
and
4 deletions
clmctest/monitoring/LineProtocolGenerator.py
+
4
−
4
View file @
e5bd5cbf
...
...
@@ -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_dela
y
,
time
):
def
generate_network_delay_report
(
path_id
,
source_sfr
,
target_sfr
,
latenc
y
,
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_dela
y: the e2e network delay for traversing the path between the two service routers
:param
latenc
y: 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_dela
y
"
latency
"
:
latenc
y
},
"
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
"
respo
n
se_size
"
:
response_size
},
"
time
"
:
_getNSTime
(
time
)
}]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment