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
2dee26da
Commit
2dee26da
authored
6 years ago
by
MJB
Browse files
Options
Downloads
Patches
Plain Diff
updated telegraf agent data to be consistent across clmc and platform tests
parent
5cf9af9b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
clmctest/monitoring/rspec.yml
+12
-12
12 additions, 12 deletions
clmctest/monitoring/rspec.yml
clmctest/monitoring/test_simresults.py
+2
-2
2 additions, 2 deletions
clmctest/monitoring/test_simresults.py
with
14 additions
and
14 deletions
clmctest/monitoring/rspec.yml
+
12
−
12
View file @
2dee26da
...
...
@@ -20,12 +20,12 @@ hosts:
-
guest
:
80
host
:
8081
ip_address
:
"
203.0.113.140"
location
:
"
DC1
"
sfc_id
:
"
MS_Templat
e_
1
"
sfc_id_instance
:
"
MS_I1
"
sf_id
:
"
adaptive_streaming
"
sf_id_instance
:
"
adaptive_streaming_I1
"
ipendpoint_id
:
"
adaptive_streaming_I1_apache1
"
location
:
"
nova
"
sfc_id
:
"
media_servic
e_
A
"
sfc_id_instance
:
"
StackID
"
sf_id
:
"
test-sf-clmc-agent-build
"
sf_id_instance
:
"
ms-A.ict-flame.eu
"
ipendpoint_id
:
"
endpoint1.ms-A.ict-flame.eu
"
influxdb_url
:
"
http://203.0.113.100:8086"
database_name
:
"
CLMCMetrics"
-
name
:
ipendpoint2
...
...
@@ -37,12 +37,12 @@ hosts:
-
guest
:
80
host
:
8082
ip_address
:
"
203.0.113.141"
location
:
"
DC2
"
sfc_id
:
"
MS_Templat
e_
1
"
sfc_id_instance
:
"
MS_I1
"
sf_id
:
"
adaptive_streaming
"
sf_id_instance
:
"
adaptive_streaming_I1
"
ipendpoint_id
:
"
adaptive_streaming_I1_apache2
"
location
:
"
nova
"
sfc_id
:
"
media_servic
e_
A
"
sfc_id_instance
:
"
StackID
"
sf_id
:
"
test-sf-clmc-agent-build
"
sf_id_instance
:
"
ms-A.ict-flame.eu
"
ipendpoint_id
:
"
endpoint2.ms-A.ict-flame.eu
"
influxdb_url
:
"
http://203.0.113.100:8086"
database_name
:
"
CLMCMetrics"
-
name
:
test-runner
...
...
This diff is collapsed.
Click to expand it.
clmctest/monitoring/test_simresults.py
+
2
−
2
View file @
2dee26da
...
...
@@ -27,9 +27,9 @@ class TestSimulation(object):
(
'
SELECT count(*) FROM
"
CLMCMetrics
"
.
"
autogen
"
.
"
vm_res_alloc
"'
,
{
"
time
"
:
"
1970-01-01T00:00:00Z
"
,
"
count_cpu
"
:
12
,
"
count_memory
"
:
12
,
"
count_storage
"
:
12
}),
(
'
SELECT count(*) FROM
"
CLMCMetrics
"
.
"
autogen
"
.
"
mpegdash_service_config
"
WHERE ipendpoint=
\'
adaptive_streaming_I1_apache1
\'
'
,
(
'
SELECT count(*) FROM
"
CLMCMetrics
"
.
"
autogen
"
.
"
mpegdash_service_config
"
WHERE ipendpoint=
\'
endpoint1.ms-A.ict-flame.eu
\'
'
,
{
"
time
"
:
"
1970-01-01T00:00:00Z
"
,
"
count_avg_running
"
:
3604
,
"
count_avg_starting
"
:
3604
,
"
count_avg_stopped
"
:
3604
,
"
count_avg_stopping
"
:
3604
,
"
count_running
"
:
3604
,
"
count_starting
"
:
3604
,
"
count_stopped
"
:
3604
,
"
count_stopping
"
:
3604
}),
(
'
SELECT count(*) FROM
"
CLMCMetrics
"
.
"
autogen
"
.
"
mpegdash_service_config
"
WHERE ipendpoint=
\'
adaptive_streaming_I1_apache2
\'
'
,
(
'
SELECT count(*) FROM
"
CLMCMetrics
"
.
"
autogen
"
.
"
mpegdash_service_config
"
WHERE ipendpoint=
\'
endpoint2.ms-A.ict-flame.eu
\'
'
,
{
"
time
"
:
"
1970-01-01T00:00:00Z
"
,
"
count_avg_running
"
:
3604
,
"
count_avg_starting
"
:
3604
,
"
count_avg_stopped
"
:
3604
,
"
count_avg_stopping
"
:
3604
,
"
count_running
"
:
3604
,
"
count_starting
"
:
3604
,
"
count_stopped
"
:
3604
,
"
count_stopping
"
:
3604
}),
])
def
test_simulation
(
self
,
run_simulator
,
influx_db
,
query
,
expected_result
):
...
...
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